Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@phiggins
Created March 25, 2014 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phiggins/9755989 to your computer and use it in GitHub Desktop.
Save phiggins/9755989 to your computer and use it in GitHub Desktop.
diff --git a/rspec-support/lib/rspec/support/hunk_generator.rb b/rspec-expectations/lib/rspec/expectations/differ.rb
index 5b0d68d..cef9a1f 100644
--- a/rspec-support/lib/rspec/support/hunk_generator.rb
+++ b/rspec-expectations/lib/rspec/expectations/differ.rb
@@ -1,10 +1,7 @@
-require 'diff/lcs'
-require 'diff/lcs/hunk'
-
module RSpec
- module Support
+ module Expectations
# @private
- class HunkGenerator
+ class Differ
def initialize(actual, expected)
@actual = actual
@expected = expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment