✖ bundle exec rake
DEPRECATED: I want to drop this entirely. Let me know if you use this! from /Users/austin/.gem/ruby/2.7.4/gems/hoe-3.23.0/lib/hoe/test.rb:139:in `define_test_tasks'
/Users/austin/.rubies/ruby-2.7.4/bin/ruby -I/Users/austin/.gem/ruby/2.7.4/gems/rspec-core-3.10.1/lib:/Users/austin/.gem/ruby/2.7.4/gems/rspec-support-3.10.3/lib /Users/austin/.gem/ruby/2.7.4/gems/rspec-core-3.10.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb -Ispec:lib
Run options: exclude {:broken=>true}
......................................FFF...FFFFF.......................FFFFF..................................................................................................................................................................................................................
Failures:
1) Diff::LCS.diff correctly diffs seq1 to seq2
Failure/Error: expect(change_diff(correct_forward_diff)).to eq(diff_s1_s2)
expected: [[#<Diff::LCS::Change: ["-", 0, "a"]>], [#<Diff::LCS::Change: ["+", 2, "d"]>], [#<Diff::LCS::Change: ...Change: ["-", 9, "p"]>, #<Diff::LCS::Change: ["+", 10, "s"]>, #<Diff::LCS::Change: ["+", 11, "t"]>]]
got: [[#<Diff::LCS::Change: ["-", 0, "a"]>], [#<Diff::LCS::Change: ["+", 2, "d"]>], [#<Diff::LCS::Change: ...Change: ["+", 9, "r"]>, #<Diff::LCS::Change: ["+", 10, "s"]>, #<Diff::LCS::Change: ["+", 11, "t"]>]]
(compared using ==)
# ./spec/diff_spec.rb:10:in `block (2 levels) in <top (required)>'
2) Diff::LCS.diff correctly diffs seq2 to seq1
Failure/Error: expect(change_diff(correct_backward_diff)).to eq(diff_s2_s1)
expected: [[#<Diff::LCS::Change: ["+", 0, "a"]>], [#<Diff::LCS::Change: ["-", 2, "d"]>], [#<Diff::LCS::Change: ...Change: ["-", 10, "s"]>, #<Diff::LCS::Change: ["+", 9, "p"]>, #<Diff::LCS::Change: ["-", 11, "t"]>]]
got: [[#<Diff::LCS::Change: ["+", 0, "a"]>], [#<Diff::LCS::Change: ["-", 2, "d"]>], [#<Diff::LCS::Change: ...:Change: ["+", 8, "n"]>, #<Diff::LCS::Change: ["-", 11, "t"]>, #<Diff::LCS::Change: ["+", 9, "p"]>]]
(compared using ==)
# ./spec/diff_spec.rb:15:in `block (2 levels) in <top (required)>'
3) Diff::LCS.diff correctly diffs against an empty sequence
Failure/Error: expect(change_diff(correct_diff)).to eq(diff)
expected: [[#<Diff::LCS::Change: ["-", 1, "efgh"]>, #<Diff::LCS::Change: ["-", 2, "ijkl"]>, #<Diff::LCS::Change: ["-", 3, "mnopqrstuvwxyz"]>]]
got: [[#<Diff::LCS::Change: ["-", 0, "abcd"]>, #<Diff::LCS::Change: ["-", 1, "efgh"]>, #<Diff::LCS::Change: ["-", 2, "ijkl"]>, #<Diff::LCS::Change: ["-", 3, "mnopqrstuvwxyz"]>]]
(compared using ==)
# ./spec/diff_spec.rb:29:in `block (2 levels) in <top (required)>'
4) Diff::LCS::Hunk produces a unified diff from the two pieces
Failure/Error: expect(hunk.diff(:unified)).to eq(expected)
expected: "@@ -1 +1 @@\n-Tu a un cart\u00E9 avec {count} it\u00E9ms\n+Tu a un carte avec {count} items"
got: "@@ -1 +1,2 @@\n+Tu a un carte avec {count} items\n Tu a un cart\u00E9 avec {count} it\u00E9ms"
(compared using ==)
Diff:Could not produce a diff because of the encoding of the string (UTF-16LE)
# ./spec/hunk_spec.rb:21:in `block (2 levels) in <top (required)>'
5) Diff::LCS::Hunk produces a unified diff from the two pieces (last entry)
Failure/Error: expect(hunk.diff(:unified, true)).to eq(expected)
expected: "@@ -1 +1 @@\n-Tu a un cart\u00E9 avec {count} it\u00E9ms\n+Tu a un carte avec {count} items\n\\ No newline at end of file"
got: "@@ -1 +2 @@\n+Tu a un carte avec {count} items\n Tu a un cart\u00E9 avec {count} it\u00E9ms\n\\ No newline at end of file"
(compared using ==)
Diff:Could not produce a diff because of the encoding of the string (UTF-16LE)
# ./spec/hunk_spec.rb:32:in `block (2 levels) in <top (required)>'
6) Diff::LCS::Hunk produces a context diff from the two pieces
Failure/Error: expect(hunk.diff(:context)).to eq(expected)
expected: "***************\n*** 1 ****\n! Tu a un cart\u00E9 avec {count} it\u00E9ms\n--- 1 ----\n! Tu a un carte avec {count} items"
got: "***************\n*** 1 ****\n--- 1,2 ----\n+ Tu a un carte avec {count} items"
(compared using ==)
Diff:Could not produce a diff because of the encoding of the string (UTF-16LE)
# ./spec/hunk_spec.rb:44:in `block (2 levels) in <top (required)>'
7) Diff::LCS::Hunk produces an old diff from the two pieces
Failure/Error: expect(hunk.diff(:old)).to eq(expected)
expected: "1c1\n< Tu a un cart\u00E9 avec {count} it\u00E9ms\n---\n> Tu a un carte avec {count} items\n"
got: "1a1,2\n> Tu a un carte avec {count} items\n"
(compared using ==)
Diff:Could not produce a diff because of the encoding of the string (UTF-16LE)
# ./spec/hunk_spec.rb:56:in `block (2 levels) in <top (required)>'
8) Diff::LCS::Hunk produces a reverse ed diff from the two pieces
Failure/Error: expect(hunk.diff(:reverse_ed)).to eq(expected)
expected: "c1\nTu a un carte avec {count} items\n.\n"
got: "a1\nTu a un carte avec {count} items\n.\n"
(compared using ==)
Diff:Could not produce a diff because of the encoding of the string (UTF-16LE)
# ./spec/hunk_spec.rb:67:in `block (2 levels) in <top (required)>'
9) bin/ldiff spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff
Failure/Error: expect(run_ldiff(fixture)).to eq(read_fixture(fixture))
expected: "1c1\n< aX\n---\n> bXaX\n"
got: "1a1\n> bXaX\n"
(compared using ==)
Diff:
@@ -1,5 +1,3 @@
-1c1
-< aX
----
+1a1
> bXaX
# ./spec/ldiff_spec.rb:29:in `block in test_ldiff'
10) bin/ldiff -e spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-e
Failure/Error: expect(run_ldiff(fixture)).to eq(read_fixture(fixture))
expected: "1c\nbXaX\n.\n"
got: "1a\nbXaX\n.\n"
(compared using ==)
Diff:
@@ -1 +1 @@
-1c
+1a
# ./spec/ldiff_spec.rb:29:in `block in test_ldiff'
11) bin/ldiff -f spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-f
Failure/Error: expect(run_ldiff(fixture)).to eq(read_fixture(fixture))
expected: "c1\nbXaX\n.\n"
got: "a1\nbXaX\n.\n"
(compared using ==)
Diff:
@@ -1 +1 @@
-c1
+a1
# ./spec/ldiff_spec.rb:29:in `block in test_ldiff'
12) bin/ldiff -c spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-c
Failure/Error: expect(run_ldiff(fixture)).to eq(read_fixture(fixture))
expected: "*** spec/fixtures/aX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n*** spec/fixtures/bXaX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n***************\n*** 1 ****\n! aX\n--- 1 ----\n! bXaX\n"
got: "*** spec/fixtures/aX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n*** spec/fixtures/bXaX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n***************\n*** 1 ****\n--- 1 ----\n+ bXaX\n"
(compared using ==)
Diff:
@@ -2,7 +2,6 @@
*** spec/fixtures/bXaX 0000-00-00 :00 =>:00 =>00.000000000 -0000
***************
*** 1 ****
-! aX
--- 1 ----
-! bXaX
++ bXaX
# ./spec/ldiff_spec.rb:29:in `block in test_ldiff'
13) bin/ldiff -u spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-u
Failure/Error: expect(run_ldiff(fixture)).to eq(read_fixture(fixture))
expected: "*** spec/fixtures/aX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n*** spec/fixtures/bXaX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n@@ -1 +1 @@\n-aX\n+bXaX\n"
got: "*** spec/fixtures/aX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n*** spec/fixtures/bXaX\t0000-00-00 :00 =>:00 =>00.000000000 -0000\n@@ -1 +2 @@\n+bXaX\n aX\n"
(compared using ==)
Diff:
@@ -1,6 +1,6 @@
*** spec/fixtures/aX 0000-00-00 :00 =>:00 =>00.000000000 -0000
*** spec/fixtures/bXaX 0000-00-00 :00 =>:00 =>00.000000000 -0000
-@@ -1 +1 @@
--aX
+@@ -1 +2 @@
+bXaX
+ aX
# ./spec/ldiff_spec.rb:29:in `block in test_ldiff'
Finished in 1.84 seconds (files took 0.10541 seconds to load)
287 examples, 13 failures
Failed examples:
rspec ./spec/diff_spec.rb:8 # Diff::LCS.diff correctly diffs seq1 to seq2
rspec ./spec/diff_spec.rb:13 # Diff::LCS.diff correctly diffs seq2 to seq1
rspec ./spec/diff_spec.rb:18 # Diff::LCS.diff correctly diffs against an empty sequence
rspec ./spec/hunk_spec.rb:14 # Diff::LCS::Hunk produces a unified diff from the two pieces
rspec ./spec/hunk_spec.rb:24 # Diff::LCS::Hunk produces a unified diff from the two pieces (last entry)
rspec ./spec/hunk_spec.rb:35 # Diff::LCS::Hunk produces a context diff from the two pieces
rspec ./spec/hunk_spec.rb:47 # Diff::LCS::Hunk produces an old diff from the two pieces
rspec ./spec/hunk_spec.rb:59 # Diff::LCS::Hunk produces a reverse ed diff from the two pieces
rspec ./spec/ldiff_spec.rb[1:1] # bin/ldiff spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff
rspec ./spec/ldiff_spec.rb[1:2] # bin/ldiff -e spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-e
rspec ./spec/ldiff_spec.rb[1:3] # bin/ldiff -f spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-f
rspec ./spec/ldiff_spec.rb[1:4] # bin/ldiff -c spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-c
rspec ./spec/ldiff_spec.rb[1:5] # bin/ldiff -u spec/fixtures/aX spec/fixtures/bXaX # => spec/fixtures/ldiff/output.diff-u
I’ve invited you to be a full contributor to the repository; you’re doing good work, but the fixes I see for this remove the transitive property.