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

Unified Diff: lib/testing/render_test.dart

Issue 55143003: webui fixes for 0.8.9 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 2 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/templating.dart ('k') | lib/watcher.dart » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/testing/render_test.dart
diff --git a/lib/testing/render_test.dart b/lib/testing/render_test.dart
index 80ddb5a3e59f451ade437006d01c343c5c3d92d9..a1fae296f1d9be9f245d7af98bed7e5bbd946154 100644
--- a/lib/testing/render_test.dart
+++ b/lib/testing/render_test.dart
@@ -9,16 +9,15 @@
library web_ui.testing.render_test;
import 'dart:io';
-import 'dart:math' show min;
-import 'package:pathos/path.dart' as path;
+import 'package:path/path.dart' as path;
import 'package:unittest/unittest.dart';
import 'package:web_ui/dwc.dart' as dwc;
void renderTests(String baseDir, String inputDir, String expectedDir,
String outDir, {List<String> arguments, String script, String pattern,
bool deleteDir: true}) {
- if (arguments == null) arguments = new Options().arguments;
- if (script == null) script = new Options().script;
+ if (arguments == null) arguments = [];
+ if (script == null) script = Platform.script.toString();
var filePattern = new RegExp(pattern != null ? pattern
: (arguments.length > 0 ? arguments.removeAt(0) : '.'));
« no previous file with comments | « lib/templating.dart ('k') | lib/watcher.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698