OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |