Skip to content

Commit

Permalink
Fixing the test as it was checked in with the debugging env enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtm98 committed Sep 15, 2024
1 parent bdc8e05 commit 75d6285
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jac/jaclang/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ def test_type_info(self) -> None:
cli.tool("ir", ["ast", f"{self.fixture_abs_path('type_info.jac')}"])
sys.stdout = sys.__stdout__
stdout_value = captured_output.getvalue()
self.assertEqual(stdout_value.count("type_info.ServerWrapper"), 32)
self.assertEqual(stdout_value.count("builtins.int"), 4)
self.assertEqual(stdout_value.count("builtins.str"), 13)
self.assertEqual(stdout_value.count("type_info.ServerWrapper"), 7)
self.assertEqual(stdout_value.count("builtins.int"), 3)
self.assertEqual(stdout_value.count("builtins.str"), 10)

def test_build_and_run(self) -> None:
"""Testing for print AstTool."""
Expand Down

0 comments on commit 75d6285

Please sign in to comment.