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

Unified Diff: tests/corelib/string_trim2_test.dart

Issue 15333006: Rewrite double.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Upload Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/js_parser_test.dart ('k') | tests/lib/math/math_parse_double_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/string_trim2_test.dart
diff --git a/tests/corelib/string_trim2_test.dart b/tests/corelib/string_trim2_test.dart
index e511e780ebef9978716198651382b365613d3e6e..fc894a25901de46665ef7f48035e8f9e89cac9f8 100644
--- a/tests/corelib/string_trim2_test.dart
+++ b/tests/corelib/string_trim2_test.dart
@@ -5,11 +5,11 @@
import "package:expect/expect.dart";
const WHITESPACE = const [
- 9,
- 10,
- 11,
- 12,
- 13,
+ 0x09,
+ 0x0A,
+ 0x0B,
+ 0x0C,
+ 0x0D,
0x20,
0x85,
0xA0,
@@ -44,5 +44,6 @@ main() {
Expect.equals("a", ("a" + c).trim());
Expect.equals("a", (c + "a").trim());
Expect.equals("a", (c + c + "a" + c + c).trim());
+ Expect.equals("a" + c + "a", (c + c + "a" + c + "a" + c + c).trim());
}
}
« no previous file with comments | « tests/compiler/dart2js/js_parser_test.dart ('k') | tests/lib/math/math_parse_double_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698