test: Add e2e test for multiwidth characters

This commit is contained in:
SeongChan Lee 2022-04-26 14:58:33 +09:00
parent e096eb2095
commit d34c8e64c3
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,5 @@
한 Apropriate world
한 Apropriate world
😵‍💫 Apropriate world
👁️‍🗨️ Apropriate world
Apropriate world

View file

@ -0,0 +1,30 @@
error: `Apropriate` should be `Appropriate`
--> -:1:2
|
1 | 한 Apropriate world
| ^^^^^^^^^^
|
error: `Apropriate` should be `Appropriate`
--> -:2:2
|
2 | 한 Apropriate world
| ^^^^^^^^^^
|
error: `Apropriate` should be `Appropriate`
--> -:3:2
|
3 | 😵‍💫 Apropriate world
| ^^^^^^^^^^
|
error: `Apropriate` should be `Appropriate`
--> -:4:2
|
4 | 👁️‍🗨️ Apropriate world
| ^^^^^^^^^^
|
error: `Apropriate` should be `Appropriate`
--> -:5:1
|
5 | Apropriate world
| ^^^^^^^^^^
|

View file

@ -0,0 +1,3 @@
bin.name = "typos"
args = "-"
status.code = 2