Skip to content

Commit

Permalink
remove redundant query
Browse files Browse the repository at this point in the history
  • Loading branch information
flotter committed Aug 28, 2024
1 parent 22040e0 commit 518bbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internals/plan/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ func (s *S) TestStartStopOrderMultipleLanes(c *C) {
func (s *S) TestLayerBuiltinCompatible(c *C) {
fields := structYamlFields(plan.Layer{})
c.Assert(len(fields), Equals, len(plan.BuiltinSections))
for _, field := range structYamlFields(plan.Layer{}) {
for _, field := range fields {
c.Assert(slices.Contains(plan.BuiltinSections, field), Equals, true)
}
}
Expand Down

0 comments on commit 518bbc3

Please sign in to comment.