Chromium Code Reviews| Index: tests/lib/convert/utf8_test.dart |
| diff --git a/tests/lib/convert/utf8_test.dart b/tests/lib/convert/utf8_test.dart |
| index f24dffc96f2e108495553e13f5e43c6ceebd200d..c63ae8b85d26de6e1ea3bae3562fea25efbc053c 100644 |
| --- a/tests/lib/convert/utf8_test.dart |
| +++ b/tests/lib/convert/utf8_test.dart |
| @@ -29,8 +29,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
fix
|
| Expect.throws(() => decoder.convert(ascii, 3, 2)); // end < start |