Skip to content

Commit

Permalink
vm/binop: improve binop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rpbeltran committed Jan 4, 2025
1 parent 7171f2a commit b737e6e
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 344 deletions.
1 change: 1 addition & 0 deletions vm/binop_inplace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
func TestBinopInplaceParsing(t *testing.T) {
expected_type := "*vm.Instruction_BINOP_INPLACE"

ExpectParseSame(t, `BINOP_INPLACE add "sum"`, expected_type)
ExpectParseSame(t, `BINOP_INPLACE add "foo"`, expected_type)
ExpectParseSame(t, `BINOP_INPLACE subtract "foo"`, expected_type)
ExpectParseSame(t, `BINOP_INPLACE multiply "foo"`, expected_type)
Expand Down
Loading

0 comments on commit b737e6e

Please sign in to comment.