Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dhower-qc committed Jul 25, 2024
1 parent eea7589 commit 4c5d138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/idl/tests/test_functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4c5d138

Please sign in to comment.