masukomi / differ Goto Github PK
View Code? Open in Web Editor NEWThis project forked from emintham/differ
A simple gem for generating string diffs
This project forked from emintham/differ
A simple gem for generating string diffs
(it was this way when I found it, I swear )
Failures:
1) Differ::Change should stringify via the current format's #format method
Failure/Error: Differ::Change.new.to_s
NoMethodError:
undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgMatcher:0x007f8da3bea4c8>
# ./lib/differ/change.rb:27:in `=='
# ./lib/differ/change.rb:22:in `to_s'
# ./spec/differ/change_spec.rb:80:in `block (2 levels) in <top (required)>'
2) Differ::Change (empty) should stringify to ""
Failure/Error: @change.to_s.should == ''
NoMethodError:
undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgMatcher:0x007f8da3bea4c8>
# ./lib/differ/change.rb:27:in `=='
# ./lib/differ/change.rb:22:in `to_s'
# ./spec/differ/change_spec.rb:24:in `block (3 levels) in <top (required)>'
3) Differ::Diff#to_s should delegate insertion changes to Differ#format
Failure/Error: @format.should_receive(:call).once.with(i).and_return('!')
NoMethodError:
undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher:0x007f8da3bea5b8>
# ./lib/differ/change.rb:27:in `=='
# ./spec/differ/diff_spec.rb:25:in `block (3 levels) in <top (required)>'
4) Differ::Diff#format_as should delegate change formatting to the given format
Failure/Error: @format.should_receive(:call).once.with(@change).and_return('!')
NoMethodError:
undefined method `insert' for #<RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher:0x007f8da3bea5b8>
# ./lib/differ/change.rb:27:in `=='
# ./spec/differ/diff_spec.rb:40:in `block (3 levels) in <top (required)>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.