Skip to content

Commit 8cf39c8

Browse files
committed
chore: improve readability of test case for alternative delimiters
Reformatted the inline struct definition in `scaffold_test.go` to a multi-line layout.
1 parent e3658a6 commit 8cf39c8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkg/machinery/scaffold_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,12 @@ var _ = Describe("Scaffold", func() {
158158

159159
Entry("should render actions with alternative delimiters correctly",
160160
path, "package testValue",
161-
&fakeTemplate{fakeBuilder: fakeBuilder{path: path, TestField: "testValue"},
162-
body: "package [[.TestField]]", parseDelimLeft: "[[", parseDelimRight: "]]"},
161+
&fakeTemplate{
162+
fakeBuilder: fakeBuilder{path: path, TestField: "testValue"},
163+
body: "package [[.TestField]]",
164+
parseDelimLeft: "[[",
165+
parseDelimRight: "]]",
166+
},
163167
),
164168
)
165169

0 commit comments

Comments
 (0)