diff options
Diffstat (limited to 'spec/traverse_sequences_spec.rb')
-rw-r--r-- | spec/traverse_sequences_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/traverse_sequences_spec.rb b/spec/traverse_sequences_spec.rb index ed40100..8e9928f 100644 --- a/spec/traverse_sequences_spec.rb +++ b/spec/traverse_sequences_spec.rb @@ -48,11 +48,11 @@ describe "Diff::LCS.traverse_sequences" do end it "has the correct LCS result on left-matches" do - expect(@callback.matched_a).to eq(hello.split(//)) + expect(@callback.matched_a).to eq(hello.chars) end it "has the correct LCS result on right-matches" do - expect(@callback.matched_b).to eq(hello.split(//)) + expect(@callback.matched_b).to eq(hello.chars) end it "has the correct skipped sequences with the left sequence" do |