Fix typo in misc tests (#1270)
This commit is contained in:
1 parent
14fb8a0aac
commit
c3d44123bb
1 file changed
+1
-1
+1
-1
@@ -69,7 +69,7 @@ func TestRuneSliceWidthRange(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
if got := runeSliceWidthRange(test.rs, test.beg, test.end); !reflect.DeepEqual(got, test.exp) {
|
||||
t.Errorf("at input '%v' expected '%v' but got '%v'", test.rs, test.rs, got)
|
||||
t.Errorf("at input '%v' expected '%v' but got '%v'", test.rs, test.exp, got)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user