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

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

Issue 12729026: fix variable in catch statement (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: while I'm at it Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/html_individual_config.dart
diff --git a/pkg/unittest/lib/html_individual_config.dart b/pkg/unittest/lib/html_individual_config.dart
index 2432a55733c6f186df379a1082522b17ffe8ef71..5bca8494d170d4d6ec58e4b321ffa5af41e99d13 100644
--- a/pkg/unittest/lib/html_individual_config.dart
+++ b/pkg/unittest/lib/html_individual_config.dart
@@ -19,9 +19,7 @@ import 'unittest.dart' as unittest;
import 'html_config.dart' as htmlconfig;
class HtmlIndividualConfiguration extends htmlconfig.HtmlConfiguration {
-
- String _noSuchTest = '';
- HtmlIndividualConfiguration(isLayoutTest): super(isLayoutTest);
+ HtmlIndividualConfiguration(bool isLayoutTest): super(isLayoutTest);
void onStart() {
var search = window.location.search;
@@ -34,7 +32,7 @@ class HtmlIndividualConfiguration extends htmlconfig.HtmlConfiguration {
}
}
} catch (e) {
- print('tried to match "$testGroupName"');
+ print('tried to match "$search"');
print('NO_SUCH_TEST');
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698