Index: tests/html/websocket_test.dart |
=================================================================== |
--- tests/html/websocket_test.dart (revision 14114) |
+++ tests/html/websocket_test.dart (working copy) |
@@ -9,7 +9,7 @@ |
test('constructorTest', () { |
var socket = new WebSocket('ws://localhost'); |
- Expect.isTrue(socket != null); |
- Expect.isTrue(socket is WebSocket); |
+ expect(socket, isNotNull); |
+ expect(socket, new isInstanceOf<WebSocket>('WebSocket')); |
}); |
} |