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

Unified Diff: dart/runtime/tests/vm/dart/isolate_mirror_local_test.dart

Issue 17028019: Update toString expectations in vm-specific test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/tests/vm/dart/isolate_mirror_local_test.dart
diff --git a/dart/runtime/tests/vm/dart/isolate_mirror_local_test.dart b/dart/runtime/tests/vm/dart/isolate_mirror_local_test.dart
index 39f5948fa1dadf5d6b0fab09dec5aa377019a5ba..1ec7093646663cd80044a26774ea3a3f93f364a7 100644
--- a/dart/runtime/tests/vm/dart/isolate_mirror_local_test.dart
+++ b/dart/runtime/tests/vm/dart/isolate_mirror_local_test.dart
@@ -351,7 +351,7 @@ void testIntegerInstanceMirror(InstanceMirror mirror) {
Expect.equals(const Symbol('int'), mirror.type.simpleName);
Expect.isTrue(mirror.hasReflectee);
Expect.equals(1001, mirror.reflectee);
- Expect.equals("InstanceMirror on <1001>", mirror.toString());
+ Expect.equals("InstanceMirror on 1001", mirror.toString());
// Invoke (mirror + mirror).
mirror.invokeAsync(const Symbol('+'), [ mirror ]).then(
@@ -367,7 +367,7 @@ void testStringInstanceMirror(InstanceMirror mirror) {
Expect.equals(const Symbol('String'), mirror.type.simpleName);
Expect.isTrue(mirror.hasReflectee);
Expect.equals('This\nis\na\nString', mirror.reflectee);
- Expect.equals("InstanceMirror on <'This\\nis\\na\\nString'>",
+ Expect.equals('InstanceMirror on "This\\nis\\na\\nString"',
mirror.toString());
// Invoke mirror[0].
@@ -384,7 +384,7 @@ void testBoolInstanceMirror(InstanceMirror mirror) {
Expect.equals(const Symbol('bool'), mirror.type.simpleName);
Expect.isTrue(mirror.hasReflectee);
Expect.equals(true, mirror.reflectee);
- Expect.equals("InstanceMirror on <true>", mirror.toString());
+ Expect.equals("InstanceMirror on true", mirror.toString());
testDone('testBoolInstanceMirror');
}
@@ -393,7 +393,7 @@ void testNullInstanceMirror(InstanceMirror mirror) {
Expect.equals(const Symbol('Object'), mirror.type.simpleName);
Expect.isTrue(mirror.hasReflectee);
Expect.equals(null, mirror.reflectee);
- Expect.equals("InstanceMirror on <null>", mirror.toString());
+ Expect.equals("InstanceMirror on null", mirror.toString());
testDone('testNullInstanceMirror');
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698