Fossil SCM
Fix off-by-one in temporary filename in test/commit-warning.test
Commit
b06c3a76277ab0a0824541dade0c026e9f687b73ec5a61da05b7f4919b7379e5
Parent
ed2ff9ea3fe4fb5…
1 file changed
+2
-2
+2
-2
| --- test/commit-warning.test | ||
| +++ test/commit-warning.test | ||
| @@ -72,15 +72,15 @@ | ||
| 72 | 72 | write_file utf-mod-c0-80 "11 bit NUL:\xC0\x80 is sometimes ok\n" |
| 73 | 73 | write_file utf-bad-e0-80-80 "16 bit NUL:\xE0\x80\x80 is bad\n" |
| 74 | 74 | write_file utf-bad-f0-80-80-80 "21 bit NUL:\xF0\x80\x80\x80 is bad\n" |
| 75 | 75 | write_file utf-bad-f8-80-80-80-80 "26 bit NUL:\xF8\x80\x80\x80\x80 is bad\n" |
| 76 | 76 | write_file utf-bad-fc-80-80-80-80-80 "31 bit NUL:\xFC\x80\x80\x80\x80\x80 is bad\n" |
| 77 | -write_file utf-bad-fe-80-80-80-80-80-80 "36 bit NUL:\xFC\x80\x80\x80\x80\x80 is bad\n" | |
| 77 | +write_file utf-bad-fe-80-80-80-80-80-80 "36 bit NUL:\xFE\x80\x80\x80\x80\x80\x80 is bad\n" | |
| 78 | 78 | write_file utf-bad-c0-81 "overlong SOH:\xC0\x81 is bad\n" |
| 79 | 79 | write_file utf-bad-c0-bf "overlong '?':\xC0\xBF is bad\n" |
| 80 | 80 | write_file utf-bad-c1-bf "overlong DEL:\xC1\xBF is bad\n" |
| 81 | -write_file utf-bad-f4-90-80-80 "U+110000 not allowed:\xF4\x90\x80 not unicode\n" | |
| 81 | +write_file utf-bad-f4-90-80-80 "U+110000 not allowed:\xF4\x90\x80\x80 not unicode\n" | |
| 82 | 82 | write_file utf-bad-f9-80-80-80-80 "U+2000000 not allowed:\xF9\x80\x80\x80\x80 not unicode\n" |
| 83 | 83 | write_file utf-bad-ff "no byte FF:\xFF\n" |
| 84 | 84 | write_file utf-ill16-lead "lead surrogate U+D800:\xED\xA0\x80 is ill formed\n" |
| 85 | 85 | write_file utf-ill16-trail "trail surrogate U+DC00:\xED\xB0\x80 is ill formed\n" |
| 86 | 86 | write_file utf-ill16-pair "surrogate pair U+10000:\xED\xA0\x80\xED\xB0\x80 is ill formed\n" |
| 87 | 87 |
| --- test/commit-warning.test | |
| +++ test/commit-warning.test | |
| @@ -72,15 +72,15 @@ | |
| 72 | write_file utf-mod-c0-80 "11 bit NUL:\xC0\x80 is sometimes ok\n" |
| 73 | write_file utf-bad-e0-80-80 "16 bit NUL:\xE0\x80\x80 is bad\n" |
| 74 | write_file utf-bad-f0-80-80-80 "21 bit NUL:\xF0\x80\x80\x80 is bad\n" |
| 75 | write_file utf-bad-f8-80-80-80-80 "26 bit NUL:\xF8\x80\x80\x80\x80 is bad\n" |
| 76 | write_file utf-bad-fc-80-80-80-80-80 "31 bit NUL:\xFC\x80\x80\x80\x80\x80 is bad\n" |
| 77 | write_file utf-bad-fe-80-80-80-80-80-80 "36 bit NUL:\xFC\x80\x80\x80\x80\x80 is bad\n" |
| 78 | write_file utf-bad-c0-81 "overlong SOH:\xC0\x81 is bad\n" |
| 79 | write_file utf-bad-c0-bf "overlong '?':\xC0\xBF is bad\n" |
| 80 | write_file utf-bad-c1-bf "overlong DEL:\xC1\xBF is bad\n" |
| 81 | write_file utf-bad-f4-90-80-80 "U+110000 not allowed:\xF4\x90\x80 not unicode\n" |
| 82 | write_file utf-bad-f9-80-80-80-80 "U+2000000 not allowed:\xF9\x80\x80\x80\x80 not unicode\n" |
| 83 | write_file utf-bad-ff "no byte FF:\xFF\n" |
| 84 | write_file utf-ill16-lead "lead surrogate U+D800:\xED\xA0\x80 is ill formed\n" |
| 85 | write_file utf-ill16-trail "trail surrogate U+DC00:\xED\xB0\x80 is ill formed\n" |
| 86 | write_file utf-ill16-pair "surrogate pair U+10000:\xED\xA0\x80\xED\xB0\x80 is ill formed\n" |
| 87 |
| --- test/commit-warning.test | |
| +++ test/commit-warning.test | |
| @@ -72,15 +72,15 @@ | |
| 72 | write_file utf-mod-c0-80 "11 bit NUL:\xC0\x80 is sometimes ok\n" |
| 73 | write_file utf-bad-e0-80-80 "16 bit NUL:\xE0\x80\x80 is bad\n" |
| 74 | write_file utf-bad-f0-80-80-80 "21 bit NUL:\xF0\x80\x80\x80 is bad\n" |
| 75 | write_file utf-bad-f8-80-80-80-80 "26 bit NUL:\xF8\x80\x80\x80\x80 is bad\n" |
| 76 | write_file utf-bad-fc-80-80-80-80-80 "31 bit NUL:\xFC\x80\x80\x80\x80\x80 is bad\n" |
| 77 | write_file utf-bad-fe-80-80-80-80-80-80 "36 bit NUL:\xFE\x80\x80\x80\x80\x80\x80 is bad\n" |
| 78 | write_file utf-bad-c0-81 "overlong SOH:\xC0\x81 is bad\n" |
| 79 | write_file utf-bad-c0-bf "overlong '?':\xC0\xBF is bad\n" |
| 80 | write_file utf-bad-c1-bf "overlong DEL:\xC1\xBF is bad\n" |
| 81 | write_file utf-bad-f4-90-80-80 "U+110000 not allowed:\xF4\x90\x80\x80 not unicode\n" |
| 82 | write_file utf-bad-f9-80-80-80-80 "U+2000000 not allowed:\xF9\x80\x80\x80\x80 not unicode\n" |
| 83 | write_file utf-bad-ff "no byte FF:\xFF\n" |
| 84 | write_file utf-ill16-lead "lead surrogate U+D800:\xED\xA0\x80 is ill formed\n" |
| 85 | write_file utf-ill16-trail "trail surrogate U+DC00:\xED\xB0\x80 is ill formed\n" |
| 86 | write_file utf-ill16-pair "surrogate pair U+10000:\xED\xA0\x80\xED\xB0\x80 is ill formed\n" |
| 87 |