Skip to content

Commit 13c5834

Browse files
committed
chore: fix some typos in comment
Signed-off-by: keeghcet <keeghcet@outlook.com>
1 parent 1787e7d commit 13c5834

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arguments/parser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ func testParsingArguments(t *testing.T, when spec.G, it spec.S) {
350350
justBefore()
351351
})
352352

353-
it("sets the HeaderFile attriburte on the parsedArgs struct", func() {
353+
it("sets the HeaderFile attribute on the parsedArgs struct", func() {
354354
Expect(parsedArgs.HeaderFile).To(Equal("some/header/file"))
355355
Expect(err).NotTo(HaveOccurred())
356356
})

generator/file_reader_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func TestFileReader(t *testing.T) {
4242
expectedContent: "some content 0",
4343
expectedCalls: []string{relFile, relFile},
4444
},
45-
"[simple] when the working directory is set but the filepath is absolut, the absolute path is used": {
45+
"[simple] when the working directory is set but the filepath is absolute, the absolute path is used": {
4646
readerCreator: simpleReaderCreator,
4747
open: openReturningReader("some content 1"),
4848
workingDir: workingDir,
@@ -84,7 +84,7 @@ func TestFileReader(t *testing.T) {
8484
expectedContent: "some content 3",
8585
expectedCalls: []string{relFile},
8686
},
87-
"[cached] when the working directory is set but the filepath is absolut, the absolute path is used": {
87+
"[cached] when the working directory is set but the filepath is absolute, the absolute path is used": {
8888
readerCreator: cachedReaderCreator,
8989
open: openReturningReader("some content 4"),
9090
workingDir: workingDir,

0 commit comments

Comments
 (0)