Chromium Code Reviews| Index: tests/lib/convert/utf82_test.dart |
| diff --git a/tests/lib/convert/utf82_test.dart b/tests/lib/convert/utf82_test.dart |
| index b52f240ccdabc98b5a1f2b75c9ab6d4c92aa1fb7..bdcf5a9391f39b7f1841d8ab52e4378699693085 100644 |
| --- a/tests/lib/convert/utf82_test.dart |
| +++ b/tests/lib/convert/utf82_test.dart |
| @@ -50,7 +50,10 @@ final TESTS = [ |
| [ 0xC0, 0x80 ], |
| [ 0xC1, 0x80 ], |
| // Outside valid range. |
| - [ 0xF4, 0xBF, 0xBF, 0xBF ]]; |
| + [ 0xF4, 0xBF, 0xBF, 0xBF ], |
| + // Negative |
| + [ -0x01 ], |
| + [ -0xFF ]]; |
|
Lasse Reichstein Nielsen
2013/08/22 06:10:42
Try also:
-0x80000000 (min int32)
-0x40000000 (m
floitsch
2013/08/22 15:40:25
Done.
|
| final TESTS2 = [ |
| // Test that 0xC0|1, 0x80 does not eat the next character. |