Chromium Code Reviews| Index: tests/lib_strong/convert/utf8_test.dart |
| diff --git a/tests/lib_strong/convert/utf8_test.dart b/tests/lib_strong/convert/utf8_test.dart |
| index cc4c7f5912006d46f879fbf1517c6b9d8086a225..9713b169b6c9b2b1672866c9278cc71a90b816b5 100644 |
| --- a/tests/lib_strong/convert/utf8_test.dart |
| +++ b/tests/lib_strong/convert/utf8_test.dart |
| @@ -28,8 +28,8 @@ void testDecodeSlice() { |
| Expect.equals("BCD", decoder.convert(ascii, 1, 4)); |
| Expect.equals("ABCD", decoder.convert(ascii, 0, 4)); |
| - Expect.throws(() => decoder.convert(ascii, -1)); // start < 0. |
| - Expect.throws(() => decoder.convert(ascii, 6)); // start > length |
| + Expect.throws(() => decoder.convert(ascii, -1)); // start < 0. |
| + Expect.throws(() => decoder.convert(ascii, 6)); // start > length |
| Expect.throws(() => decoder.convert(ascii, 0, -1)); // end < 0 |
| Expect.throws(() => decoder.convert(ascii, 0, 6)); // end > length |
|
sra1
2017/03/21 03:01:09
sp sp // -> sp // sp
|
| Expect.throws(() => decoder.convert(ascii, 3, 2)); // end < start |