Skip to content

Commit

Permalink
test: fix variable declaration bytecode test case
Browse files Browse the repository at this point in the history
  • Loading branch information
R-unic committed Dec 17, 2024
1 parent 9b4c477 commit 5b4a6a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Heir.Tests/BytecodeGeneratorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public void Generates_VariableDeclarations(string input, string name, object? va
Assert.Equal(OpCode.PUSH, pushValue.OpCode);
Assert.Equal(value, pushValue.Operand);
Assert.Equal(opCode, operation.OpCode);
Assert.Null(operation.Operand);
Assert.IsType<bool>(operation.Operand);
Assert.False((bool)operation.Operand);
}
}

0 comments on commit 5b4a6a4

Please sign in to comment.