Sha256: a36021a960a3c20060637eb6240aa87682d9b42f31466c9570d6741c94b939db
Contents?: true
Size: 469 Bytes
Versions: 2
Compression:
Stored size: 469 Bytes
Contents
module Similatron class BinaryDiffComparisonEngine < ComparisonEngine def can_handle_mime?(_) true end private def command(expected, actual, _diff_path) "#{executable_path} #{expected} #{actual}" end def default_executable_path "diff" end def diff_extension "notused" end def diff(_diff_path, _exec_result) nil end def score(exec_result) exec_result.status end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
similatron-0.1.1 | lib/similatron/binary_diff_comparison_engine.rb |
similatron-0.1.0 | lib/similatron/binary_diff_comparison_engine.rb |