Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: tests/lib/convert/json_utf8_chunk_test.dart

Issue 677423002: Fix assertion not holding (calling with start==end) and typo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/convert_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/convert/json_utf8_chunk_test.dart
diff --git a/tests/lib/convert/json_utf8_chunk_test.dart b/tests/lib/convert/json_utf8_chunk_test.dart
index b881f1d5c6457106bb8fe6cdef5bc00509b4eb29..27324ed2ba14c399873e829acdec8e05543b7b49 100644
--- a/tests/lib/convert/json_utf8_chunk_test.dart
+++ b/tests/lib/convert/json_utf8_chunk_test.dart
@@ -236,7 +236,7 @@ void jsonMalformedTest(name, expect, codes) {
// Test that `codeString.codeUnits` fails to parse as UTF-8 JSON,
// even with decoder not throwing on malformed encodings.
-void jsonThrows(Strig name, String codeString) {
+void jsonThrows(String name, String codeString) {
testJsonThrows(tag, action) {
// Not allowing malformed, expect throw.
var sink = new ChunkedConversionSink.withCallback((values) {
« no previous file with comments | « runtime/lib/convert_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698