Index: pkg/dev_compiler/test/codegen/lib/html/audioelement_test.dart |
diff --git a/pkg/dev_compiler/test/codegen/lib/html/audioelement_test.dart b/pkg/dev_compiler/test/codegen/lib/html/audioelement_test.dart |
index 9957ff703e2fadacc2272e733b66be950d2f8d29..188932ebe5cf2f29adcbac88ae6f4989589a2afe 100644 |
--- a/pkg/dev_compiler/test/codegen/lib/html/audioelement_test.dart |
+++ b/pkg/dev_compiler/test/codegen/lib/html/audioelement_test.dart |
@@ -1,11 +1,8 @@ |
-library AudioElementTest; |
-import 'package:unittest/unittest.dart'; |
-import 'package:unittest/html_config.dart'; |
import 'dart:html'; |
-main() { |
- useHtmlConfiguration(); |
+import 'package:minitest/minitest.dart'; |
+main() { |
test('constructorTest1', () { |
var audio = new AudioElement(); |
expect(audio, isNotNull); |
@@ -16,7 +13,7 @@ main() { |
var audio = new AudioElement('IntentionallyMissingFileURL'); |
expect(audio, isNotNull); |
expect(audio is AudioElement, isTrue); |
- expect(audio.src, contains('IntentionallyMissingFileURL')); |
+ expect(audio.src.contains('IntentionallyMissingFileURL'), isTrue); |
}); |
test('canPlayTypeTest', () { |