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

Unified Diff: pkg/unittest/lib/interactive_html_config.dart

Issue 21310003: Fix a couple of issues in the interactive config that the analyzer found. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « no previous file | pkg/unittest/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/interactive_html_config.dart
===================================================================
--- pkg/unittest/lib/interactive_html_config.dart (revision 25630)
+++ pkg/unittest/lib/interactive_html_config.dart (working copy)
@@ -19,6 +19,7 @@
import 'dart:html';
import 'dart:async';
+import 'dart:json' as json;
import 'dart:math';
import 'package:stack_trace/stack_trace.dart';
@@ -165,7 +166,7 @@
int elapsed = end.difference(_testStarts[testCase.id]).inMilliseconds;
if (testCase.stackTrace != null) {
var message = json.stringify(testCase.stackTrace.frames.map((frame) {
- return <String>{
+ return <String, dynamic>{
"uri": frame.uri.toString(),
"line": frame.line,
"column": frame.column,
« no previous file with comments | « no previous file | pkg/unittest/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698