diff --git a/lib/idl/tests/test_functions.rb b/lib/idl/tests/test_functions.rb index c2e02c057..7fc0b219a 100644 --- a/lib/idl/tests/test_functions.rb +++ b/lib/idl/tests/test_functions.rb @@ -69,7 +69,7 @@ def test_that_reachable_raise_analysis_respects_transitive_known_values path = Pathname.new(t.path) - ast = @compiler.compile_file(path, @symtab) + ast = @compiler.compile_file(path, symtab: @symtab) test_ast = ast.functions.select { |f| f.name == "test" }[0] assert_equal [1], test_ast.body.reachable_exceptions(@symtab) @@ -129,7 +129,7 @@ def test_that_reachable_raise_analysis_respects_known_paths_down_an_unkn0wn_path path = Pathname.new(t.path) - ast = @compiler.compile_file(path, @symtab) + ast = @compiler.compile_file(path, symtab: @symtab) test_ast = ast.functions.select { |f| f.name == "test" }[0] assert_equal [1], test_ast.body.reachable_exceptions(@symtab)