Skip to content

Commit 8c8d169

Browse files
authored
Remove NBSP from test case (#12380)
This fixes a test case, the test case included a NBSP which resulted in the test being completely invalid. Now updated the test case to vent the impostor expect the correct result instead.
1 parent fd90550 commit 8c8d169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-data/unit/check-flags.test

+2-1
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,8 @@ x.trim() # E: "str" has no attribute "trim" [attr-defined]
19911991
[case testEnableDifferentErrorCode]
19921992
# flags: --disable-error-code attr-defined --enable-error-code name-defined --show-error-code
19931993
x = 'should not be fine'
1994-
x.trim() # E: "str" has no attribute "trim" [attr-defined]
1994+
x.trim()
1995+
y.trim() # E: Name "y" is not defined [name-defined]
19951996

19961997
[case testEnableMultipleErrorCode]
19971998
# flags: \

0 commit comments

Comments
 (0)