Skip to content

Commit

Permalink
o/snapstate: fix a wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Meulengracht committed May 3, 2024
1 parent abe095c commit f1e8be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlord/snapstate/snapstate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7779,8 +7779,8 @@ func (s *snapmgrTestSuite) TestInstallModeDisableFreshInstallEnabledByHookMixedS
c.Assert(op, Not(IsNil))
c.Check(op.disabledServices, DeepEquals, []string{"svc-disable-foo"})
c.Check(op.disabledUserServices, testutil.DeepUnsortedMatches, map[int][]string{
// Because it was disabled specifically for user 0, and the available users
// are 0 and 1000
// Because it was enabled specifically for user 0, and the available users
// are 0 and 1000, then it must now be disabled just for 1000
1000: {"svc-disable-bar-user"},
})
}
Expand Down

0 comments on commit f1e8be8

Please sign in to comment.