OLD | NEW |
---|---|
(Empty) | |
1 Tests that the Diff module correctly diffs things. | |
2 | |
3 | |
4 =: "test th" | |
5 -: "is" | |
6 +: "at" | |
7 =: " sentence" | |
8 -: "." | |
9 | |
10 -: [ | |
11 "test this sentence." | |
12 ] | |
13 +: [ | |
14 "test that sentence" | |
15 ] | |
16 | |
17 =: [ | |
18 "a" | |
19 ] | |
20 -: [ | |
21 "b" | |
22 ] | |
23 =: [ | |
24 "c" | |
25 ] | |
26 | |
27 -: [ | |
28 "a" | |
29 ] | |
30 =: [ | |
31 "b" | |
32 ] | |
33 +: [ | |
34 "a" | |
35 ] | |
36 =: [ | |
37 "c" | |
38 ] | |
39 | |
40 =: [ | |
41 "a" | |
42 ] | |
43 +: [ | |
44 "b" | |
45 ] | |
46 =: [ | |
47 "c" | |
48 ] | |
49 | |
50 =: [ | |
51 "for (var i = 0; i < 100; i++) {" | |
52 ] | |
53 -: [ | |
54 " willBeLeftAlone()", | |
55 " willBeDeleted();" | |
56 ] | |
57 +: [ | |
58 " willBeLeftAlone();" | |
59 ] | |
60 =: [ | |
61 "}" | |
62 ] | |
63 +: [ | |
64 "insertThisLine();" | |
65 ] | |
66 =: [ | |
67 "for (var j = 0; j < 100; j++) {" | |
68 ] | |
69 -: [ | |
70 " console.log('something changed');", | |
71 " willBeDeletedAgain();" | |
72 ] | |
73 +: [ | |
74 " console.log('changed');" | |
75 ] | |
76 =: [ | |
77 "}" | |
78 ] | |
79 | |
OLD | NEW |