From dff922b75e56205a9d57feb498f429c911706c1d Mon Sep 17 00:00:00 2001 From: Lars Kanis <kanis@comcard.de> Date: Sun, 22 Jan 2012 14:35:54 +0100 Subject: [PATCH] add missing require --- test/TC_FXDCPrint.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/TC_FXDCPrint.rb b/test/TC_FXDCPrint.rb index c06fa52..3f72299 100755 --- a/test/TC_FXDCPrint.rb +++ b/test/TC_FXDCPrint.rb @@ -1,6 +1,7 @@ require 'test/unit' require 'fox16' +require 'fileutils' include Fox @@ -25,7 +26,7 @@ private job.flags = PRINT_DEST_FILE job end - + def hexdump(ios) count = 0 ios.each_byte do |byte| @@ -48,7 +49,7 @@ private File.open(actual, 'rb') { |f| actual_contents = crlf_to_lf(f.read) } assert_equal(expected_contents, actual_contents) end - + public def setup if FXApp.instance.nil? @@ -92,7 +93,7 @@ public end # assert_same_file_contents("howdypage.ps", printJob.name) end - + def teardown if File.exists?("output.ps") FileUtils.rm_f("output.ps") -- GitLab