| Index: tests/corelib/string_base_vm_test.dart
|
| diff --git a/tests/corelib/string_base_vm_test.dart b/tests/corelib/string_base_vm_test.dart
|
| index fef8b04c5655b81ac6fa8abfb81020965c83f4b7..8d86120905db2019d4ec12aaccee6a4d78a26b06 100644
|
| --- a/tests/corelib/string_base_vm_test.dart
|
| +++ b/tests/corelib/string_base_vm_test.dart
|
| @@ -48,14 +48,14 @@ class StringBaseTest {
|
| Expect.equals(s, s3);
|
| try {
|
| String s4 = new String.fromCharCodes([0.0]);
|
| - } on IllegalArgumentException catch (ex) {
|
| + } on ArgumentError catch (ex) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
| exception_caught = false;
|
| try {
|
| String s4 = new String.fromCharCodes([-1]);
|
| - } on IllegalArgumentException catch (ex) {
|
| + } on ArgumentError catch (ex) {
|
| exception_caught = true;
|
| }
|
| Expect.equals(true, exception_caught);
|
|
|