Index: sdk/lib/_internal/pub/test/lish/upload_form_fields_has_a_non_string_value_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_fields_has_a_non_string_value_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_fields_has_a_non_string_value_test.dart |
index 9e2471513441463be7f318fd54ef7960ce1ae658..b241a168768064483f33f9453b900e1ae21f50da 100644 |
--- a/sdk/lib/_internal/pub/test/lish/upload_form_fields_has_a_non_string_value_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_fields_has_a_non_string_value_test.dart |
@@ -27,8 +27,8 @@ main() { |
'fields': {'field': 12} |
}; |
handleUploadForm(server, body); |
- expect(pub.nextErrLine(), completion(equals('Invalid server response:'))); |
- expect(pub.nextErrLine(), completion(equals(JSON.encode(body)))); |
+ pub.stderr.expect('Invalid server response:'); |
+ pub.stderr.expect(JSON.encode(body)); |
pub.shouldExit(1); |
}); |
} |