super_diff icon indicating copy to clipboard operation
super_diff copied to clipboard

A more helpful way to view differences between complex data structures in RSpec.

Results 66 super_diff issues
Sort by recently updated
recently updated
newest added

As you may have noticed, my activity on this repo has been rather low for a while now. Due to personal demands, my free time is much more limited these...

This looks like #202, but that was supposed to have been fixed in 0.11.0. I'm seeing this in 0.12.1: ``` NoMethodError: undefined method `keys' for nil:NilClass # //.rbenv/versions/3.2.3/lib/ruby/gems/3.2.0/gems/super_diff-0.12.1/lib/super_diff/core/inspection_tree.rb:71:in `insert_hash_inspection_of' #...

SuperDiff version: 0.12.1 (newest release available) An inspected `Module` is not displayed with its name, but with its instance variables etc. (by `...::InstanceTreeBuilders::DefaultObject`). This is different from a `Class`, which...

Given `superdiff_contains.rb`: ```ruby require "bundler/inline" gemfile do source "https://rubygems.org" gem "rspec", "3.13.0" gem "super_diff", "0.12.1" end require "rspec/autorun" require "super_diff/rspec" if ENV["SUPERDIFF"] RSpec.describe "A contain_exactly/match_array expectation" do it "fails with...

Given `superdiff_worse_output.rb`: ```ruby require "bundler/inline" gemfile do source "https://rubygems.org" gem "rspec", "3.13.0" gem "super_diff", "0.12.1" end require "rspec/autorun" require "super_diff/rspec" if ENV["SUPERDIFF"] Point = Data.define(:x, :y) RSpec.describe "Comparing data class...

When running RSpec with the default output for the following code snippet: ```ruby # require "super_diff/rspec" Product = Data.define(:name, :price) RSpec.describe "subject" do it "does something" do p1 = Product.new(name:...