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

Unified Diff: tests/corelib_2/string_base_vm_test.dart

Issue 2989473002: Migrated test block 27 to Dart 2.0. (Closed)
Patch Set: Addressed Bob's nits and fixed test failures Created 3 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/corelib_2/string_base_vm_static_test.dart ('k') | tests/corelib_2/string_buffer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_2/string_base_vm_test.dart
diff --git a/tests/corelib/string_base_vm_test.dart b/tests/corelib_2/string_base_vm_test.dart
similarity index 87%
rename from tests/corelib/string_base_vm_test.dart
rename to tests/corelib_2/string_base_vm_test.dart
index 76ff9ade8fe80b267e0e5b6e0110bd0b4386658a..10ed9ac44496291590efceb973e61f51213589fe 100644
--- a/tests/corelib/string_base_vm_test.dart
+++ b/tests/corelib_2/string_base_vm_test.dart
@@ -34,15 +34,6 @@ class StringBaseTest {
a[i] = s.codeUnitAt(i);
ga.add(s.codeUnitAt(i));
}
- try {
- 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;
try {
String s4 = new String.fromCharCodes([-1]);
} on ArgumentError catch (ex) {
« no previous file with comments | « tests/corelib_2/string_base_vm_static_test.dart ('k') | tests/corelib_2/string_buffer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698