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

Side by Side Diff: tests/corelib_strong/num_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
OLDNEW
1 // Copyright (c) 2013 the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013 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 4
5 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 6
7 const whiteSpace = const [ 7 const whiteSpace = const [
8 "", 8 "",
9 "\x09", 9 "\x09",
10 "\x0a", 10 "\x0a",
11 "\x0b", 11 "\x0b",
12 "\x0c", 12 "\x0c",
13 "\x0d", 13 "\x0d",
14 "\x85", 14 "\x85",
15 "\xa0", 15 "\xa0",
16 "\u1680", 16 "\u1680",
17 "\u180e",
17 "\u2000", 18 "\u2000",
18 "\u2001", 19 "\u2001",
19 "\u2002", 20 "\u2002",
20 "\u2003", 21 "\u2003",
21 "\u2004", 22 "\u2004",
22 "\u2005", 23 "\u2005",
23 "\u2006", 24 "\u2006",
24 "\u2007", 25 "\u2007",
25 "\u2008", 26 "\u2008",
26 "\u2009", 27 "\u2009",
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 testFail("INFINITY"); 226 testFail("INFINITY");
226 testFail("1.#INF"); 227 testFail("1.#INF");
227 testFail("inf"); 228 testFail("inf");
228 testFail("nan"); 229 testFail("nan");
229 testFail("NAN"); 230 testFail("NAN");
230 testFail("1.#IND"); 231 testFail("1.#IND");
231 testFail("indef"); 232 testFail("indef");
232 testFail("qnan"); 233 testFail("qnan");
233 testFail("snan"); 234 testFail("snan");
234 } 235 }
OLDNEW
« no previous file with comments | « tests/corelib_strong/int_parse_radix_test.dart ('k') | tests/corelib_strong/string_trim2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698