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

Unified Diff: tests/language/type_cast_vm_test.dart

Issue 10784020: Revert fix for type checking of void type, because some top level tests fail. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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/language/language_dart2js.status ('k') | tests/language/type_vm_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_cast_vm_test.dart
===================================================================
--- tests/language/type_cast_vm_test.dart (revision 9672)
+++ tests/language/type_cast_vm_test.dart (working copy)
@@ -13,7 +13,7 @@
result = 1;
Expect.isTrue(error is CastException);
Expect.equals("int", error.dstType);
- Expect.equals("String", error.srcType);
+ Expect.equals("OneByteString", error.srcType);
Expect.equals("type cast", error.dstName);
int pos = error.url.lastIndexOf("/", error.url.length);
if (pos == -1) {
@@ -55,7 +55,7 @@
result = 1;
Expect.isTrue(error is CastException);
Expect.equals("int", error.dstType);
- Expect.equals("String", error.srcType);
+ Expect.equals("OneByteString", error.srcType);
Expect.equals("type cast", error.dstName);
int pos = error.url.lastIndexOf("/", error.url.length);
if (pos == -1) {
@@ -80,7 +80,7 @@
result = 1;
Expect.isTrue(error is CastException);
Expect.equals("int", error.dstType);
- Expect.equals("String", error.srcType);
+ Expect.equals("OneByteString", error.srcType);
Expect.equals("type cast", error.dstName);
int pos = error.url.lastIndexOf("/", error.url.length);
if (pos == -1) {
@@ -103,7 +103,7 @@
} catch (TypeError error) {
result = 1;
Expect.equals("int", error.dstType);
- Expect.equals("String", error.srcType);
+ Expect.equals("OneByteString", error.srcType);
Expect.equals("type cast", error.dstName);
int pos = error.url.lastIndexOf("/", error.url.length);
if (pos == -1) {
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/type_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698