diff options
Diffstat (limited to 'spec/lcs_spec.rb')
-rw-r--r-- | spec/lcs_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lcs_spec.rb b/spec/lcs_spec.rb index e3643dd..c17f22f 100644 --- a/spec/lcs_spec.rb +++ b/spec/lcs_spec.rb @@ -47,7 +47,7 @@ describe Diff::LCS, ".LCS" do end it "returns %W(h e l l o) with (hello, hello)" do - expect(Diff::LCS.LCS(hello, hello)).to eq(hello.split(//)) + expect(Diff::LCS.LCS(hello, hello)).to eq(hello.chars) end it "returns hello_ary with (hello_ary, hello_ary)" do |