Index: tests/html/mutationobserver_test.dart |
=================================================================== |
--- tests/html/mutationobserver_test.dart (revision 14114) |
+++ tests/html/mutationobserver_test.dart (working copy) |
@@ -38,7 +38,8 @@ |
test('empty options is syntax error', () { |
var mutationObserver = new MutationObserver( |
- (mutations, observer) { expect(false, 'Should not be reached'); }); |
+ (mutations, observer) { expect(false, isTrue, |
+ reason: 'Should not be reached'); }); |
expect(() { mutationObserver.observe(document, {}); }, |
throws); |
}); |