Index: pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart |
diff --git a/pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart b/pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart |
index 68c2af9a9fdade2d3b71fbf0c6b56ea036c7a418..e8870c112710f7cbddb736a48fdda444ae771530 100644 |
--- a/pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart |
+++ b/pkg/dev_compiler/test/codegen/lib/html/audiocontext_test.dart |
@@ -1,15 +1,11 @@ |
-library AudioContextTest; |
-import 'package:unittest/unittest.dart'; |
-import 'package:unittest/html_individual_config.dart'; |
+import 'dart:async'; |
import 'dart:html'; |
import 'dart:typed_data'; |
import 'dart:web_audio'; |
-import 'dart:async'; |
- |
-main() { |
- useHtmlIndividualConfiguration(); |
+import 'package:minitest/minitest.dart'; |
+main() { |
var isAudioContext = |
predicate((x) => x is AudioContext, 'is an AudioContext'); |
@@ -24,16 +20,16 @@ main() { |
if (AudioContext.supported) { |
context = new AudioContext(); |
} |
- |
+ |
test('constructorTest', () { |
- if(AudioContext.supported) { |
+ if (AudioContext.supported) { |
expect(context, isNotNull); |
expect(context, isAudioContext); |
} |
}); |
test('audioRenames', () { |
- if(AudioContext.supported) { |
+ if (AudioContext.supported) { |
GainNode gainNode = context.createGain(); |
gainNode.connectNode(context.destination); |
expect(gainNode is GainNode, isTrue); |