Fossil SCM

Updates to the 'diff' tests.

mistachkin 2020-06-11 02:05 trunk
Commit 547585be712f354ccc5ad1075b69af67002c178ddc45ff835fb5df44e07028d9
1 file changed +4 -4
+4 -4
--- test/diff.test
+++ test/diff.test
@@ -30,13 +30,13 @@
3030
write_file [file join .fossil-settings binary-glob] "*"
3131
3232
write_file file0.dat ""; # no content.
3333
write_file file1.dat "test file 1 (one line no term)."
3434
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)."
3838
3939
fossil add $rootDir
4040
fossil commit -m "c1"
4141
4242
###############################################################################
@@ -56,11 +56,11 @@
5656
+++ file0.dat
5757
cannot compute difference between binary files}}
5858
5959
###############################################################################
6060
61
-write_file file1.dat [string repeat z 16384]
61
+write_file file1.dat [string repeat z 32768]
6262
fossil diff file1.dat
6363
6464
test diff-file1-1 {[normalize_result] eq {Index: file1.dat
6565
==================================================================
6666
--- file1.dat
6767
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button