diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-05-18 22:59:59 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-05-18 22:59:59 +0100 |
| commit | 38bbecef62da8c0ca82dbbc3debc81c5e1b96a2e (patch) | |
| tree | f868e69ba3cab7d52d217be844bd950db2b47e08 /src/unit_tests.cc | |
| parent | 0a6ad4dcf4e5155bd4052e9dd72005a6f85366e1 (diff) | |
Fix bug in diff implementations (missing snake after d=1 change) and refactor
Diffstat (limited to 'src/unit_tests.cc')
| -rw-r--r-- | src/unit_tests.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit_tests.cc b/src/unit_tests.cc index 29fd90f6..b583c737 100644 --- a/src/unit_tests.cc +++ b/src/unit_tests.cc @@ -251,7 +251,7 @@ void test_diff() StringView s2 = "mais ou va la police"; auto diff = find_diff(s1.begin(), (int)s1.length(), s2.begin(), (int)s2.length()); - kak_assert(diff.size() == 10); + kak_assert(diff.size() == 11); } { |
