Skip to content

Commit 64ca4f4

Browse files
authored
🌱 (chore): improve readability of test case for alternative delimiters (#4671)
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 e005e02 commit 64ca4f4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎pkg/machinery/scaffold_test.go

+6-2
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)