thats putstring working again (better testing == better code => better sleep, longer life :-)

This commit is contained in:
Torsten Ruger
2014-05-21 21:27:05 +03:00
parent 587fd56300
commit e3bccaa0fe
3 changed files with 10 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ module Fragments
assembly = writer.text
# use this for getting the bytes to compare to :
#puts assembly
writer.save("#{name}_test.o")
writer.save("#{name}.o")
assembly.text.bytes.each_with_index do |byte , index|
is = @should[index]
assert_equal Fixnum , is.class , "@#{index.to_s(16)} = #{is}"