Index: tests/lib_strong/convert/utf8_encode_test.dart |
diff --git a/tests/lib_strong/convert/utf8_encode_test.dart b/tests/lib_strong/convert/utf8_encode_test.dart |
index 489a12460e48c4fcbf3cec6df05a346e9c2d636c..275f664170dd160ec57775c16857629301e444e5 100644 |
--- a/tests/lib_strong/convert/utf8_encode_test.dart |
+++ b/tests/lib_strong/convert/utf8_encode_test.dart |
@@ -36,8 +36,8 @@ void testEncodeSlice() { |
Expect.listEquals([0x42, 0x43, 0x44], |
encoder.convert(ascii, 1, 4)); |
- Expect.throws(() => encoder.convert(ascii, -1)); // start < 0. |
- Expect.throws(() => encoder.convert(ascii, 6)); // start > length |
+ Expect.throws(() => encoder.convert(ascii, -1)); // start < 0. |
+ Expect.throws(() => encoder.convert(ascii, 6)); // start > length |
Expect.throws(() => encoder.convert(ascii, 0, -1)); // end < 0 |
Expect.throws(() => encoder.convert(ascii, 0, 6)); // end > length |
sra1
2017/03/21 03:01:09
fix
|
Expect.throws(() => encoder.convert(ascii, 3, 2)); // end < start |