Index: test/peer_test.dart |
diff --git a/test/peer_test.dart b/test/peer_test.dart |
index 89ab2d6112fe1dfee2eb4be2689b0a1f075648de..ad7ad22e08abd8f75c2169ec0d65c7bd43b69111 100644 |
--- a/test/peer_test.dart |
+++ b/test/peer_test.dart |
@@ -174,7 +174,8 @@ void main() { |
"error": { |
'code': error_code.PARSE_ERROR, |
"message": startsWith("Invalid JSON: "), |
- "data": {'request': '{invalid'} |
+ // TODO(nweiz): Always expect the source when sdk#25655 is fixed. |
+ "data": {'request': anyOf([isNull, '{invalid'])} |
}, |
"id": null |
})); |