Index: pkg/unittest/html_layout_config.dart |
diff --git a/pkg/unittest/html_layout_config.dart b/pkg/unittest/html_layout_config.dart |
index c9bb15434617f65e69d805d9400314c27f9b41ca..198a50e40f0ce9c9c80f0eb856eb86813dafbf5e 100644 |
--- a/pkg/unittest/html_layout_config.dart |
+++ b/pkg/unittest/html_layout_config.dart |
@@ -48,7 +48,7 @@ class _Message { |
body = msg; |
} else { |
messageType = match.group(1); |
- elapsed = parseInt(match.group(2)); |
+ elapsed = int.parse(match.group(2)); |
body = match.group(3); |
} |
} |
@@ -96,7 +96,7 @@ class ChildHtmlConfiguration extends Configuration { |
String search = window.location.search; |
int pos = search.indexOf('t='); |
String ids = search.substring(pos+2); |
- int id = parseInt(ids); |
+ int id = int.parse(ids); |
setSoloTest(id); |
runTests(); |
} |