Skip to content
Snippets Groups Projects
Commit ed214b1f authored by Lars Kanis's avatar Lars Kanis
Browse files

Merge branch '1.6' of github.com:larskanis/fxruby into 1.6

parents 0deab33f dff922b7
No related branches found
No related tags found
No related merge requests found
require 'test/unit' require 'test/unit'
require 'fox16' require 'fox16'
require 'fileutils'
include Fox include Fox
...@@ -25,7 +26,7 @@ private ...@@ -25,7 +26,7 @@ private
job.flags = PRINT_DEST_FILE job.flags = PRINT_DEST_FILE
job job
end end
def hexdump(ios) def hexdump(ios)
count = 0 count = 0
ios.each_byte do |byte| ios.each_byte do |byte|
...@@ -48,7 +49,7 @@ private ...@@ -48,7 +49,7 @@ private
File.open(actual, 'rb') { |f| actual_contents = crlf_to_lf(f.read) } File.open(actual, 'rb') { |f| actual_contents = crlf_to_lf(f.read) }
assert_equal(expected_contents, actual_contents) assert_equal(expected_contents, actual_contents)
end end
public public
def setup def setup
if FXApp.instance.nil? if FXApp.instance.nil?
...@@ -92,7 +93,7 @@ public ...@@ -92,7 +93,7 @@ public
end end
# assert_same_file_contents("howdypage.ps", printJob.name) # assert_same_file_contents("howdypage.ps", printJob.name)
end end
def teardown def teardown
if File.exists?("output.ps") if File.exists?("output.ps")
FileUtils.rm_f("output.ps") FileUtils.rm_f("output.ps")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment