Skip to content

Commit

Permalink
samples: test017_expressions is now supported
Browse files Browse the repository at this point in the history
There were two issues:

- the parser was not able to parse all expressions
- the behaviour of `.contains()` was not consistent with the rust impl
  • Loading branch information
divarvel committed Jun 26, 2023
1 parent ee956ce commit 1c801c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions samples/samples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ type Validation struct {

func CheckSample(root_key ed25519.PublicKey, c TestCase, t *testing.T) {
// all these contain v4 blocks, which are not supported yet
// except test017 which has a v3 block, but contains a not-yet-supported binary operation
if c.Filename == "test017_expressions.bc" ||
c.Filename == "test024_third_party.bc" ||
if c.Filename == "test024_third_party.bc" ||
c.Filename == "test025_check_all.bc" ||
c.Filename == "test026_public_keys_interning.bc" ||
c.Filename == "test027_integer_wraparound.bc" ||
Expand Down

0 comments on commit 1c801c3

Please sign in to comment.