Skip to content

Commit

Permalink
Fix: Custom test
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoQuix committed Jun 19, 2024
1 parent f4b4e79 commit 8395db6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_custom_type():
true_value = LogicCondition.initialize_true(LogicCondition.generate_new_context())
ast = AbstractSyntaxTree(CodeNode([assignment := Assignment(Variable("var_0", CustomType("size_t", 64)), Constant(0))], true_value), {})
_run_vng(ast, _generate_options())
assert assignment.destination.name == "var0" # if there is no type, the first char should be lower
assert assignment.destination.name == "unkVar0"


def test_bninja_invalid_type():
Expand Down

0 comments on commit 8395db6

Please sign in to comment.