From 9498b4a7a230b23f2a7067d8187284299c2d4a73 Mon Sep 17 00:00:00 2001 From: Mau Magnaguagno Date: Fri, 5 Jan 2024 20:23:34 -0300 Subject: [PATCH] Remove default tape argument from test_bytecode_mandelbrot --- tests/rorschach.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rorschach.rb b/tests/rorschach.rb index 407f010..b316bb2 100644 --- a/tests/rorschach.rb +++ b/tests/rorschach.rb @@ -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)