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

Unified Diff: test/runtime/dart_logging_runtime_test.dart

Issue 1045753003: Fix logging test (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 | « lib/runtime/dart_logging_runtime.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runtime/dart_logging_runtime_test.dart
diff --git a/test/runtime/dart_logging_runtime_test.dart b/test/runtime/dart_logging_runtime_test.dart
index 8ec18bb853a5e0def1249f49c1cc7d7bf2956507..2a91edc34c512a751dbedb625ce24cc1fe9605bf 100644
--- a/test/runtime/dart_logging_runtime_test.dart
+++ b/test/runtime/dart_logging_runtime_test.dart
@@ -19,7 +19,7 @@ void runTest() {
var l = [new A<String>("hello"), new A("world"), new B(), 42];
for (var item in l) {
try {
- devc.cast(item, astring);
+ devc.cast(item, dynamic, astring);
} catch (e) {
// Do nothing
}
@@ -27,10 +27,12 @@ void runTest() {
}
final expected = '''
-Key dart_logging_runtime_test.dart 18:15 in runTest:
- - success: 2 (0.5)
- - failure: 1 (0.25)
- - mismatch: 1 (0.25)
+Key test/runtime/dart_logging_runtime_test.dart 22:16 in runTest:
+ - static type: A<String>
+ - runtime types: {A, int}
+ - success: 0 (0.0)
+ - failure: 1 (0.5)
+ - mismatch: 1 (0.5)
- error: 0 (0.0)
''';
« no previous file with comments | « lib/runtime/dart_logging_runtime.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698