diff options
author | tiendo1011 <tiendo1011@gmail.com> | 2021-12-22 13:32:41 +0700 |
---|---|---|
committer | tiendo1011 <tiendo1011@gmail.com> | 2021-12-22 13:35:59 +0700 |
commit | 2b0a45d7b9c132eb7c9888c28a2a866b112fc2bb (patch) | |
tree | 715d34c5699979073b364323da4c5d71253839a2 | |
parent | c2a5b875a81c5882ed3de16b7aeaae2ac989e3e6 (diff) | |
download | diff-lcs-2b0a45d7b9c132eb7c9888c28a2a866b112fc2bb.tar.gz |
Correct the expected diff
After fixing an off-by-one error at #75
Some tests are failed due to the reason specified at #77
After the discussion, we agree that we should fix it by changing
the order of the expected diff
-rw-r--r-- | spec/spec_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 17af248..326c507 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -123,8 +123,8 @@ module Diff::LCS::SpecHelper ], [ ['-', 8, 'n'], - ['-', 9, 'p'], ['+', 9, 'r'], + ['-', 9, 'p'], ['+', 10, 's'], ['+', 11, 't'] ] @@ -148,10 +148,10 @@ module Diff::LCS::SpecHelper ], [ ['-', 9, 'r'], - ['-', 10, 's'], ['+', 8, 'n'], - ['-', 11, 't'], - ['+', 9, 'p'] + ['-', 10, 's'], + ['+', 9, 'p'], + ['-', 11, 't'] ] ] end |