-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab62ece
commit bbce868
Showing
2 changed files
with
36 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Run test on example files | ||
|
||
# Go | ||
|
||
``` | ||
$ unicop example-files/examples.go | ||
IO error for operation on example-files/examples.go: No such file or directory (os error 2) | ||
|
||
``` | ||
|
||
|
||
# Typescript | ||
|
||
``` | ||
$ unicop example-files/examples.ts | ||
× found disallowed character LATIN LETTER RETROFLEX CLICK in identifier | ||
╭─[example-files/examples.ts:11:16] | ||
10 │ // Homoglyph | ||
11 │ if (environmentǃ=ENV_PROD) {} | ||
· ┬ | ||
· ╰── LATIN LETTER RETROFLEX CLICK | ||
12 │ | ||
╰──── | ||
× found disallowed character HANGUL JUNGSEONG FILLER in | ||
│ shorthand_property_identifier_pattern | ||
╭─[example-files/examples.ts:14:17] | ||
13 │ // Invisible | ||
14 │ const { timeout,ᅠ} = req.query; | ||
· ┬ | ||
· ╰── HANGUL JUNGSEONG FILLER | ||
╰──── | ||
|
||
``` |
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,4 +1,6 @@ | ||
#[test] | ||
fn trycmd() { | ||
trycmd::TestCases::new().case("README.md"); | ||
trycmd::TestCases::new() | ||
.case("README.md") | ||
.case("tests/examples.trycmd"); | ||
} |