From 32ec15dea80f48b81dafd33222d8e0f46e17ec54 Mon Sep 17 00:00:00 2001 From: Clement Delafargue Date: Fri, 12 May 2023 15:04:37 +0200 Subject: [PATCH] samples: test017_expressions is now supported There were two issues: - the parser was not able to parse all expressions - the behaviour of `.contains()` was not consistent with the rust impl --- samples/samples_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/samples/samples_test.go b/samples/samples_test.go index 06f3ec0..1af9e35 100644 --- a/samples/samples_test.go +++ b/samples/samples_test.go @@ -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" ||