Skip to content

Instantly share code, notes, and snippets.

@sriramnrn
Created July 29, 2017 10:05
Show Gist options
  • Save sriramnrn/98c99396166e46e93e9182bc69855a7b to your computer and use it in GitHub Desktop.
Save sriramnrn/98c99396166e46e93e9182bc69855a7b to your computer and use it in GitHub Desktop.
ruby 2.4.1 make check errors
1) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_collection_array_hex_invisible [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,3 +1,2 @@
-"No visible difference in the Array#inspect output.
-You should look at the implementation of #== on Array or its members.
-[#<Object:0xXXXXXX>]"
+"No differences encountered
+"
[130/221] TestMiniTestUnitTestCase#test_assert_equal_different_long = 0.01 s
2) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_long [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,6 +1,6 @@
"--- expected
+++ actual
-@@ -1 +1 @@
+@@ -1,1 +1,1 @@
-\"hahahahahahahahahahahahahahahahahahahaha\"
+\"blahblahblahblahblahblahblahblahblahblah\"
"
[141/221] TestMiniTestUnitTestCase#test_assert_equal_different_long_msg = 0.01 s
3) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_long_msg [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,7 +1,7 @@
"message.
--- expected
+++ actual
-@@ -1 +1 @@
+@@ -1,1 +1,1 @@
-\"hahahahahahahahahahahahahahahahahahahaha\"
+\"blahblahblahblahblahblahblahblahblahblah\"
"
[145/221] TestMiniTestUnitTestCase#test_assert_equal_different_long_invisible = 0.01 s
4) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_long_invisible [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,3 +1,2 @@
-"No visible difference in the String#inspect output.
-You should look at the implementation of #== on String or its members.
-\"blahblahblahblahblahblahblahblahblahblah\""
+"No differences encountered
+"
[151/221] TestMiniTestUnitTestCase#test_assert_equal_different_hex_invisible = 0.00 s
5) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_hex_invisible [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,3 +1,2 @@
-"No visible difference in the Object#inspect output.
-You should look at the implementation of #== on Object or its members.
-#<Object:0xXXXXXX>"
+"No differences encountered
+"
[161/221] TestMiniTestUnitTestCase#test_assert_equal_different_hex = 0.00 s
6) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_hex [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,6 +1,6 @@
"--- expected
+++ actual
-@@ -1 +1 @@
+@@ -1,1 +1,1 @@
-#<#<Class:0xXXXXXX>:0xXXXXXX @name=\"a\">
+#<#<Class:0xXXXXXX>:0xXXXXXX @name=\"b\">
"
[171/221] TestMiniTestUnitTestCase#test_assert_equal_different_collection_hash_hex_invisible = 0.01 s
7) Failure:
TestMiniTestUnitTestCase#test_assert_equal_different_collection_hash_hex_invisible [/home/builder/ruby-2.4.1/test/minitest/test_minitest_unit.rb:1657]:
--- expected
+++ actual
@@ -1,3 +1,2 @@
-"No visible difference in the Hash#inspect output.
-You should look at the implementation of #== on Hash or its members.
-{1=>#<Object:0xXXXXXX>}"
+"No differences encountered
+"
Finished tests in 1.474665s, 149.8646 tests/s, 302.4416 assertions/s.
221 tests, 446 assertions, 7 failures, 0 errors, 0 skips
ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [i386-solaris2.11]
uncommon.mk:613: recipe for target 'yes-test-testframework' failed
make: *** [yes-test-testframework] Error 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment