Index: tests/html/js_interop_2_test.dart |
=================================================================== |
--- tests/html/js_interop_2_test.dart (revision 14114) |
+++ tests/html/js_interop_2_test.dart (working copy) |
@@ -34,9 +34,9 @@ |
SendPortSync port = window.lookupPort('test'); |
var result = port.callSync('sent'); |
- Expect.equals('received', result); |
+ expect(result, 'received'); |
result = port.callSync('ignore'); |
- Expect.isNull(result); |
+ expect(result, isNull); |
}); |
} |