Sha256: db5cbb146c44f1bb83486e918e70ec27e135efc44156dcf40e2d024949ed7e89
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 Bytes
Contents
require 'minitest/autorun' require 'set' class Example < Minitest::Test require_relative 'data' def test_assert_equal begin assert_equal(expected, actual) rescue Minitest::Assertion => x File.open('default.txt', 'w') do |file| file.write(x.message) end end begin Minitest::Test.make_my_diffs_pretty! assert_equal(expected, actual) rescue Minitest::Assertion => x File.open('better.txt', 'w') do |file| file.write(x.message) end end begin require 'minitest_lucid' assert_equal(expected, actual) rescue Minitest::Assertion => x File.open('lucid.txt', 'w') do |file| file.write(x.message) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minitest_lucid-1.0.0 | markdown/readme/set/assert_equal/example.rb |
minitest_lucid-0.1.0 | markdown/readme/set/assert_equal/example.rb |