Commit aa8771f
test: use common.hasIntl in tests related to ICU
We should use `common.hasIntl` in tests for test cases which are
related to ICU.
This way we can easily find the test cases that are Intl dependent.
Plus, it will be able to make the tests a little faster if we check
hasIntl first.
Also, this tweaks the log messages to unify the message.
Refs: #10707
PR-URL: #10841
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 2641cd4 commit aa8771fCopy full SHA for aa8771f
File tree
Expand file treeCollapse file tree
6 files changed
+18
-18
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
6 files changed
+18
-18
lines changedOpen diff view settings
Collapse file
test/parallel/test-icu-punycode.js
Copy file name to clipboardExpand all lines: test/parallel/test-icu-punycode.js+6-6Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | 2 | |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
4 | 9 | |
5 | 10 | |
6 | 11 | |
| ||
12 | 17 | |
13 | 18 | |
14 | 19 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
test/parallel/test-icu-stringwidth.js
Copy file name to clipboardExpand all lines: test/parallel/test-icu-stringwidth.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | 3 | |
5 | | - |
6 | | - |
7 | 4 | |
8 | | - |
9 | | - |
| 5 | + |
| 6 | + |
10 | 7 | |
11 | 8 | |
12 | 9 | |
| 10 | + |
| 11 | + |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
|
Collapse file
test/parallel/test-icu-transcode.js
Copy file name to clipboardExpand all lines: test/parallel/test-icu-transcode.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | 4 | |
7 | 5 | |
8 | | - |
| 6 | + |
9 | 7 | |
10 | 8 | |
11 | 9 | |
| 10 | + |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
|
Collapse file
test/parallel/test-intl-v8BreakIterator.js
Copy file name to clipboardExpand all lines: test/parallel/test-intl-v8BreakIterator.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | 3 | |
5 | 4 | |
6 | | - |
| 5 | + |
7 | 6 | |
8 | 7 | |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
test/parallel/test-whatwg-url-parsing.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-url-parsing.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
test/parallel/test-whatwg-url-setters.js
Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-url-setters.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
0 commit comments