-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add more cases for new options
- Loading branch information
Showing
9 changed files
with
161 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export const BRACKET_NOT_CLOSED = '括号未闭合' | ||
export const BRACKET_NOT_OPEN = '括号未匹配' | ||
|
||
export const QUOTE_NOT_CLOSED = '引号未闭合' | ||
export const QUOTE_NOT_OPEN = '引号未匹配' | ||
export const QUOTATION_NOT_CLOSED = '引号未闭合' | ||
export const QUOTATION_NOT_OPEN = '引号未匹配' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
mark-raw:a `b` c `d` e `f` g `h` i | ||
mark-raw:a `b` c `d` e `f` g `h` i 中文 | ||
|
||
mark-type:a__[b](x)__c __[d](y)__ e | ||
mark-type:a__[b](x)__c __[d](y)__ e 中文 | ||
|
||
unify-punctuation:中文,中文 (中文) 中文 ‘中文’ 中文 “中文” 中文 (中文)(中文) 中文 (中文)。 | ||
|
||
case-abbr:Pure JavaScript (a.k.a. Vanilla) | ||
case-abbr:Pure JavaScript (a.k.a. Vanilla) 中文 | ||
|
||
case-html-entity:中文< & >中文 | ||
|
||
space-punctuation:中文。中文 (中文) 中文。中文。中文 (中文) 中文。 | ||
|
||
case-math-exp:1+1=2 1 + 1 = 2 1 + 2=3 2020/01/01 2020-01-01 vue-custom-element 100% a/b Chrome 53+ | ||
case-math-exp:1+1=2 1 + 1 = 2 1 + 2=3 2020/01/01 2020-01-01 vue-custom-element 100% a/b Chrome 53+ 中文 | ||
|
||
case-backslash:a \# b 中文\# __中文__ \# 中文 __\#__ __中文__\#中文__\#__ | ||
|
||
space-brackets:(x)a(b)c (d) e (f) g (h) i (j) k (l) m __(a)__ b (__c__) d(e) | ||
space-brackets:(x)a(b)c (d) e (f) g (h) i (j) k (l) m __(a)__ b (__c__) d(e) 中文 | ||
|
||
space-quotes:a “hello world” b | ||
space-quotations:a “hello world” b 中文 | ||
|
||
case-traditional:a “b ‘c’ d” e | ||
case-traditional:a “b ‘c’ d” e 中文 | ||
|
||
case-datetime:2020/01/02 01:20:30 中文 2020 年1月1日0天0号0时0分00秒 | ||
|
||
case-ellipsis:中文...中文...a...b... 中文 ... 中文 ... a ... b ... | ||
|
||
case-raw:`AC`/`DC` | ||
case-raw:`AC`/`DC` 中文 | ||
|
||
case-linebreak: | ||
this is | ||
a | ||
multiline | ||
text | ||
text 中文 | ||
|
||
3 minite(s) left | ||
3 minite(s) left 中文 | ||
|
||
😉 中文 |
Oops, something went wrong.