class Test::Unit::UI::Console::ColorizedReadableDiffer
Public Class Methods
new(from, to, runner)
click to toggle source
Calls superclass method
Test::Unit::Diff::Differ::new
# File test-unit-3.3.4/lib/test/unit/ui/console/testrunner.rb, line 607 def initialize(from, to, runner) @runner = runner super(from, to) end
Public Instance Methods
need_diff?(options={})
click to toggle source
# File test-unit-3.3.4/lib/test/unit/ui/console/testrunner.rb, line 612 def need_diff?(options={}) return false if one_line_all_change? operations.each do |tag,| return true if [:replace, :equal].include?(tag) end false end