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

Unified Diff: tests/corelib/string_base_vm_test.dart

Issue 12431010: Fix String.fromCharCodes to work with iterables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
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 1acf12ea59f4450a0a7b3f88897f9e3e10dab0da..5e6f682ecdd1f919058abb94ad7577c6043effb0 100644
--- a/tests/corelib/string_base_vm_test.dart
+++ b/tests/corelib/string_base_vm_test.dart
@@ -37,6 +37,8 @@ class StringBaseTest {
String s4 = new String.fromCharCodes([0.0]);
} on ArgumentError catch (ex) {
exception_caught = true;
+ } on TypeError catch (ex) {
+ exception_caught = true;
}
Expect.equals(true, exception_caught);
exception_caught = false;

Powered by Google App Engine
This is Rietveld 408576698