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

Unified Diff: test/browser_test.dart

Issue 1132083005: pkg/path: migrate to pkg/test (Closed) Base URL: https://github.com/dart-lang/path.git@master
Patch Set: Created 5 years, 7 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
Index: test/browser_test.dart
diff --git a/test/browser_test.dart b/test/browser_test.dart
index 0b56c7acee6926144ee6c307bd9df62cf7a7719e..a8d339c7c43cb4f58682c1b69febc8efcdd24134 100644
--- a/test/browser_test.dart
+++ b/test/browser_test.dart
@@ -2,15 +2,14 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+@TestOn('browser')
+
import 'dart:html';
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
+import 'package:test/test.dart';
import 'package:path/path.dart' as path;
-main() {
- useHtmlConfiguration();
-
+void main() {
group('new Context()', () {
test('uses the window location if root and style are omitted', () {
var context = new path.Context();

Powered by Google App Engine
This is Rietveld 408576698