Fossil SCM
Updates to the 'diff' tests.
Commit
547585be712f354ccc5ad1075b69af67002c178ddc45ff835fb5df44e07028d9
Parent
fee9ede22ab0273…
1 file changed
+4
-4
+4
-4
| --- test/diff.test | ||
| +++ test/diff.test | ||
| @@ -30,13 +30,13 @@ | ||
| 30 | 30 | write_file [file join .fossil-settings binary-glob] "*" |
| 31 | 31 | |
| 32 | 32 | write_file file0.dat ""; # no content. |
| 33 | 33 | write_file file1.dat "test file 1 (one line no term)." |
| 34 | 34 | write_file file2.dat "test file 2 (NUL character).\0" |
| 35 | -write_file file3.dat "test file 3 (long line).[string repeat x 16384]" | |
| 36 | -write_file file4.dat "test file 4 (long line).[string repeat y 16384]\ntwo" | |
| 37 | -write_file file5.dat "[string repeat z 16384]\ntest file 5 (long line)." | |
| 35 | +write_file file3.dat "test file 3 (long line).[string repeat x 32768]" | |
| 36 | +write_file file4.dat "test file 4 (long line).[string repeat y 32768]\ntwo" | |
| 37 | +write_file file5.dat "[string repeat z 32768]\ntest file 5 (long line)." | |
| 38 | 38 | |
| 39 | 39 | fossil add $rootDir |
| 40 | 40 | fossil commit -m "c1" |
| 41 | 41 | |
| 42 | 42 | ############################################################################### |
| @@ -56,11 +56,11 @@ | ||
| 56 | 56 | +++ file0.dat |
| 57 | 57 | cannot compute difference between binary files}} |
| 58 | 58 | |
| 59 | 59 | ############################################################################### |
| 60 | 60 | |
| 61 | -write_file file1.dat [string repeat z 16384] | |
| 61 | +write_file file1.dat [string repeat z 32768] | |
| 62 | 62 | fossil diff file1.dat |
| 63 | 63 | |
| 64 | 64 | test diff-file1-1 {[normalize_result] eq {Index: file1.dat |
| 65 | 65 | ================================================================== |
| 66 | 66 | --- file1.dat |
| 67 | 67 |
| --- test/diff.test | |
| +++ test/diff.test | |
| @@ -30,13 +30,13 @@ | |
| 30 | write_file [file join .fossil-settings binary-glob] "*" |
| 31 | |
| 32 | write_file file0.dat ""; # no content. |
| 33 | write_file file1.dat "test file 1 (one line no term)." |
| 34 | write_file file2.dat "test file 2 (NUL character).\0" |
| 35 | write_file file3.dat "test file 3 (long line).[string repeat x 16384]" |
| 36 | write_file file4.dat "test file 4 (long line).[string repeat y 16384]\ntwo" |
| 37 | write_file file5.dat "[string repeat z 16384]\ntest file 5 (long line)." |
| 38 | |
| 39 | fossil add $rootDir |
| 40 | fossil commit -m "c1" |
| 41 | |
| 42 | ############################################################################### |
| @@ -56,11 +56,11 @@ | |
| 56 | +++ file0.dat |
| 57 | cannot compute difference between binary files}} |
| 58 | |
| 59 | ############################################################################### |
| 60 | |
| 61 | write_file file1.dat [string repeat z 16384] |
| 62 | fossil diff file1.dat |
| 63 | |
| 64 | test diff-file1-1 {[normalize_result] eq {Index: file1.dat |
| 65 | ================================================================== |
| 66 | --- file1.dat |
| 67 |
| --- test/diff.test | |
| +++ test/diff.test | |
| @@ -30,13 +30,13 @@ | |
| 30 | write_file [file join .fossil-settings binary-glob] "*" |
| 31 | |
| 32 | write_file file0.dat ""; # no content. |
| 33 | write_file file1.dat "test file 1 (one line no term)." |
| 34 | write_file file2.dat "test file 2 (NUL character).\0" |
| 35 | write_file file3.dat "test file 3 (long line).[string repeat x 32768]" |
| 36 | write_file file4.dat "test file 4 (long line).[string repeat y 32768]\ntwo" |
| 37 | write_file file5.dat "[string repeat z 32768]\ntest file 5 (long line)." |
| 38 | |
| 39 | fossil add $rootDir |
| 40 | fossil commit -m "c1" |
| 41 | |
| 42 | ############################################################################### |
| @@ -56,11 +56,11 @@ | |
| 56 | +++ file0.dat |
| 57 | cannot compute difference between binary files}} |
| 58 | |
| 59 | ############################################################################### |
| 60 | |
| 61 | write_file file1.dat [string repeat z 32768] |
| 62 | fossil diff file1.dat |
| 63 | |
| 64 | test diff-file1-1 {[normalize_result] eq {Index: file1.dat |
| 65 | ================================================================== |
| 66 | --- file1.dat |
| 67 |