| Index: tests/html/audiocontext_test.dart
|
| ===================================================================
|
| --- tests/html/audiocontext_test.dart (revision 14156)
|
| +++ tests/html/audiocontext_test.dart (working copy)
|
| @@ -7,10 +7,13 @@
|
|
|
| useHtmlConfiguration();
|
|
|
| + var isAudioContext =
|
| + predicate((x) => x is AudioContext, 'is an AudioContext');
|
| +
|
| test('constructorTest', () {
|
| var ctx = new AudioContext();
|
| expect(ctx, isNotNull);
|
| - expect(ctx is AudioContext);
|
| + expect(ctx, isAudioContext);
|
| });
|
| test('createBuffer', () {
|
| var ctx = new AudioContext();
|
|
|