lib/prop_check/property.rb in prop_check-0.6.2 vs lib/prop_check/property.rb in prop_check-0.7.0
- old
+ new
@@ -1,6 +1,7 @@
require 'stringio'
+require "awesome_print"
require 'prop_check/property/configuration'
require 'prop_check/property/check_evaluator'
module PropCheck
##
@@ -203,12 +204,13 @@
output
end
private def print_roots(lazy_tree_hash)
- lazy_tree_hash.map do |name, val|
- "#{name} = #{val.inspect}"
- end.join(", ")
+ # lazy_tree_hash.map do |name, val|
+ # "#{name} = #{val.inspect}"
+ # end.join(", ")
+ lazy_tree_hash.ai
end
private def shrink(bindings_tree, io, &fun)
io.puts 'Shrinking...' if @config.verbose
problem_child = bindings_tree