Index: tests/html/documentfragment_test.dart |
diff --git a/tests/html/documentfragment_test.dart b/tests/html/documentfragment_test.dart |
index fbbd642c2151e72c702bdfdabe72b5e8ab88b1c2..5dfd7ea0f7eecd882fe3ab37264a5df719ca69ee 100644 |
--- a/tests/html/documentfragment_test.dart |
+++ b/tests/html/documentfragment_test.dart |
@@ -28,7 +28,7 @@ main() { |
try { |
fn(); |
} catch (e) { |
- if (e is IllegalAccessException || e is UnsupportedOperationException) { |
+ if (e is UnsupportedError) { |
return; |
} |
} |