Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: tests/corelib/double_parse_test.dart

Issue 2748003002: Revert "Remove U+180E from whitespace in js_runtime and tests" (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/corelib/corelib.status ('k') | tests/corelib/num_parse_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014 the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--no-use-field-guards 4 // VMOptions=--no-use-field-guards
5 // VMOptions= 5 // VMOptions=
6 6
7 import "dart:math" show pow; 7 import "dart:math" show pow;
8 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9 9
10 const whiteSpace = const [ 10 const whiteSpace = const [
11 "", 11 "",
12 "\x09", 12 "\x09",
13 "\x0a", 13 "\x0a",
14 "\x0b", 14 "\x0b",
15 "\x0c", 15 "\x0c",
16 "\x0d", 16 "\x0d",
17 "\x85", /// 01: ok 17 "\x85", /// 01: ok
18 "\xa0", 18 "\xa0",
19 "\u1680", 19 "\u1680",
20 "\u180e",
20 "\u2000", 21 "\u2000",
21 "\u2001", 22 "\u2001",
22 "\u2002", 23 "\u2002",
23 "\u2003", 24 "\u2003",
24 "\u2004", 25 "\u2004",
25 "\u2005", 26 "\u2005",
26 "\u2006", 27 "\u2006",
27 "\u2007", 28 "\u2007",
28 "\u2008", 29 "\u2008",
29 "\u2009", 30 "\u2009",
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 testFail("INFINITY"); 1151 testFail("INFINITY");
1151 testFail("1.#INF"); 1152 testFail("1.#INF");
1152 testFail("inf"); 1153 testFail("inf");
1153 testFail("nan"); 1154 testFail("nan");
1154 testFail("NAN"); 1155 testFail("NAN");
1155 testFail("1.#IND"); 1156 testFail("1.#IND");
1156 testFail("indef"); 1157 testFail("indef");
1157 testFail("qnan"); 1158 testFail("qnan");
1158 testFail("snan"); 1159 testFail("snan");
1159 } 1160 }
OLDNEW
« no previous file with comments | « tests/corelib/corelib.status ('k') | tests/corelib/num_parse_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698