Skip to content

Commit

Permalink
Malloc#write now accepts Malloc object as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
wedesoft committed Oct 18, 2010
1 parent 86dbb7b commit c7ba946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/tc_malloc.rb
Expand Up @@ -51,6 +51,7 @@ def test_read_write
assert_equal 'jkldef', m.read( 6 )
assert_raise( RuntimeError ) { m.read 7 }
assert_raise( RuntimeError ) { m.write 'abcdefg' }
assert_raise( RuntimeError ) { m.write Malloc.new( 7 ) }
end

def test_plus
Expand Down

0 comments on commit c7ba946

Please sign in to comment.