| 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) {
|
|
|