blob: 1ed9f51f48b4d0c3342e707cc692a4b508b8cfb9 [file] [log] [blame]
Tests that the Diff module correctly diffs things.
=: "test th"
-: "is"
+: "at"
=: " sentence"
-: "."
-: [
"test this sentence."
]
+: [
"test that sentence"
]
=: [
"a"
]
-: [
"b"
]
=: [
"c"
]
-: [
"a"
]
=: [
"b"
]
+: [
"a"
]
=: [
"c"
]
=: [
"a"
]
+: [
"b"
]
=: [
"c"
]
=: [
"for (var i = 0; i < 100; i++) {"
]
-: [
" willBeLeftAlone()",
" willBeDeleted();"
]
+: [
" willBeLeftAlone();"
]
=: [
"}"
]
+: [
"insertThisLine();"
]
=: [
"for (var j = 0; j < 100; j++) {"
]
-: [
" console.log('something changed');",
" willBeDeletedAgain();"
]
+: [
" console.log('changed');"
]
=: [
"}"
]