Skip to content

Commit 193a751

Browse files
committed
dev: improve test for auto-fixing of misspell
1 parent 25a630d commit 193a751

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/testdata/fix/in/misspell.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ package p
66
// langauge
77
// langauge langauge
88

9+
// check Langauge
10+
// and check langAuge
11+
912
func langaugeMisspell() { // the function detects langauge of the text
1013

1114
}

test/testdata/fix/out/misspell.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ package p
66
// language
77
// language langauge
88

9+
// check Language
10+
// and check langAuge
11+
912
func langaugeMisspell() { // the function detects language of the text
1013

1114
}

0 commit comments

Comments
 (0)