Sha256: 000074ae689665e7396202dbe94954de0cfd1eab4523cbb4b4de5e261bee9053
Contents?: true
Size: 380 Bytes
Versions: 5
Compression:
Stored size: 380 Bytes
Contents
root_dir = File.dirname(File.expand_path(__FILE__)) + '/../' examples_output = `find -s #{root_dir}examples -iname '*.rb' -exec ruby {} \\;` expected_output = File.read("#{root_dir}test/expected_examples_output.txt") if expected_output != examples_output puts "FAILED: Examples do not produce same output as expected.\n" raise StandardError, "FAILED" end puts "SUCCEEDED.\n"
Version data entries
5 entries across 5 versions & 1 rubygems