# File test_format.rb, line 511 def helper_hash_test_eleven (body_fmt, file_name) h = Hash.new h['one'] = 1 File.open(file_name, File::CREAT | File::WRONLY | File::TRUNC) { |file| body_fmt.io = file body_fmt.printFormatWithHash( h ) } assert(compareOutput(file_name, "./format_test.pl 11", nil)) end