Index: tests/html/shadowroot_test.dart |
=================================================================== |
--- tests/html/shadowroot_test.dart (revision 14114) |
+++ tests/html/shadowroot_test.dart (working copy) |
@@ -16,7 +16,7 @@ |
// If it's supported, then it should work. Otherwise should fail. |
if (isSupported) { |
var shadowRoot = new ShadowRoot(new DivElement()); |
- expect(shadowRoot is ShadowRoot); |
+ expect(shadowRoot, new isInstanceOf<ShadowRoot>('ShadowRoot')); |
} else { |
expect(() => new ShadowRoot(new DivElement()), throws); |
} |