# File test_format.rb, line 358 def helper_test_six (body_fmt, file_name) File.open(file_name, File::CREAT | File::WRONLY | File::TRUNC) { |file| body_fmt.io = file long = "01234567890abcde fg h i jklmn12345678901234567890123456.789" num = 123.456 short = '123.456' body_fmt.printFormat(binding) raise "page numbering not working " unless (1 == body_fmt.pageNumber()) } end