Skip to content

Commit

Permalink
naming tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
flotter committed Aug 30, 2024
1 parent 4e895e1 commit 37d9be4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internals/overlord/planstate/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ var loadLayers = []string{`
`}

func (ps *planSuite) TestLoadLayers(c *C) {
plan.RegisterExtension(testField, testExtension{})
defer plan.UnregisterExtension(testField)
plan.RegisterSectionExtension(testField, testExtension{})
defer plan.UnregisterSectionExtension(testField)
var err error
ps.planMgr, err = planstate.NewManager(ps.layersDir)
c.Assert(err, IsNil)
Expand Down Expand Up @@ -99,8 +99,8 @@ test-field:
}

func (ps *planSuite) TestAppendLayers(c *C) {
plan.RegisterExtension(testField, testExtension{})
defer plan.UnregisterExtension(testField)
plan.RegisterSectionExtension(testField, testExtension{})
defer plan.UnregisterSectionExtension(testField)
var err error
ps.planMgr, err = planstate.NewManager(ps.layersDir)
c.Assert(err, IsNil)
Expand Down Expand Up @@ -216,8 +216,8 @@ test-field:
}

func (ps *planSuite) TestCombineLayers(c *C) {
plan.RegisterExtension(testField, testExtension{})
defer plan.UnregisterExtension(testField)
plan.RegisterSectionExtension(testField, testExtension{})
defer plan.UnregisterSectionExtension(testField)
var err error
ps.planMgr, err = planstate.NewManager(ps.layersDir)
c.Assert(err, IsNil)
Expand Down

0 comments on commit 37d9be4

Please sign in to comment.