diff --git a/tests/cmd/stdin-failure-multiwidth.stdin b/tests/cmd/stdin-failure-multiwidth.stdin new file mode 100644 index 0000000..0c451e2 --- /dev/null +++ b/tests/cmd/stdin-failure-multiwidth.stdin @@ -0,0 +1,5 @@ +한 Apropriate world +한 Apropriate world +😵‍💫 Apropriate world +👁️‍🗨️ Apropriate world + Apropriate world \ No newline at end of file diff --git a/tests/cmd/stdin-failure-multiwidth.stdout b/tests/cmd/stdin-failure-multiwidth.stdout new file mode 100644 index 0000000..08fc6ec --- /dev/null +++ b/tests/cmd/stdin-failure-multiwidth.stdout @@ -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 + | ^^^^^^^^^^ + | diff --git a/tests/cmd/stdin-failure-multiwidth.toml b/tests/cmd/stdin-failure-multiwidth.toml new file mode 100644 index 0000000..18f517f --- /dev/null +++ b/tests/cmd/stdin-failure-multiwidth.toml @@ -0,0 +1,3 @@ +bin.name = "typos" +args = "-" +status.code = 2 \ No newline at end of file