Skip to content

Commit

Permalink
Remove default tape argument from test_bytecode_mandelbrot
Browse files Browse the repository at this point in the history
  • Loading branch information
Maumagnaguagno committed Jan 5, 2024
1 parent e6276ca commit 9498b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rorschach.rb
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ def test_bytecode_mandelbrot
assert_equal(4115, bytecode.size)
assert_equal(2177, MindFreak.optimize(bytecode).size)
# Compare output
File.write(file_c, MindFreak.to_c(program, MindFreak::TAPE_DEFAULT_SIZE))
File.write(file_c, MindFreak.to_c(program))
['gcc', 'clang'].each {|cc| assert_equal(MANDELBROT, `./#{file_exe}`) if system("#{cc} #{file_c} -o #{file_exe} -O2 -s")}
ensure
File.delete(file_c) if File.exist?(file_c)
Expand Down

0 comments on commit 9498b4a

Please sign in to comment.