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

Side by Side Diff: tests/corelib_2/regexp/pcre_test.dart

Issue 2989723002: Migrated test block 22 to Dart 2.0 (Closed)
Patch Set: Created 3 years, 4 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) 2014, the Dart project authors. All rights reserved. 1 // Copyright (c) 2014, the Dart project authors. All rights reserved.
2 // Autogenerated from the PCRE test suite Mon Feb 2 15:14:04 CET 2009 2 // Autogenerated from the PCRE test suite Mon Feb 2 15:14:04 CET 2009
3 3
4 // Note that some regexps in the PCRE test suite use features not present 4 // Note that some regexps in the PCRE test suite use features not present
5 // in JavaScript. These don't work in JS, but they fail to work in a 5 // in JavaScript. These don't work in JS, but they fail to work in a
6 // predictable way, and the expected results reflect this. 6 // predictable way, and the expected results reflect this.
7 7
8 // PCRE comes with the following license 8 // PCRE comes with the following license
9 9
10 // PCRE LICENCE 10 // PCRE LICENCE
(...skipping 7206 matching lines...) Expand 10 before | Expand all | Expand 10 after
7217 "x{102A4}x{AA52}x{A91D}x{1C46}x{10283}x{1092E}x{1C6B}x{A93B}x{A8BF}x{1 BA0}x{A50A}===="), 7217 "x{102A4}x{AA52}x{A91D}x{1C46}x{10283}x{1092E}x{1C6B}x{A93B}x{A8BF}x{1 BA0}x{A50A}===="),
7218 4950); 7218 4950);
7219 assertNull(res[1546].firstMatch("x{a77d}x{1d79}"), 4951); 7219 assertNull(res[1546].firstMatch("x{a77d}x{1d79}"), 4951);
7220 assertNull(res[1546].firstMatch("x{1d79}x{a77d} "), 4952); 7220 assertNull(res[1546].firstMatch("x{1d79}x{a77d} "), 4952);
7221 assertNull(res[1546].firstMatch("x{a77d}x{1d79}"), 4953); 7221 assertNull(res[1546].firstMatch("x{a77d}x{1d79}"), 4953);
7222 assertNull(res[1546].firstMatch("** Failers "), 4954); 7222 assertNull(res[1546].firstMatch("** Failers "), 4954);
7223 assertNull(res[1546].firstMatch("x{1d79}x{a77d} "), 4955); 7223 assertNull(res[1546].firstMatch("x{1d79}x{a77d} "), 4955);
7224 // Dart does not have RegExp literals and thus no translatation of the below. 7224 // Dart does not have RegExp literals and thus no translatation of the below.
7225 // assertThrows("var re = //;", 4956); 7225 // assertThrows("var re = //;", 4956);
7226 } 7226 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698