From af0e811699214f6148b9525abd720ba77b87bfee Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Thu, 4 Apr 2024 12:18:24 -0400 Subject: [PATCH] fix another nit --- tests/functional/builtins/codegen/test_extract32.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/functional/builtins/codegen/test_extract32.py b/tests/functional/builtins/codegen/test_extract32.py index d5e9db0a6e..96280ce862 100644 --- a/tests/functional/builtins/codegen/test_extract32.py +++ b/tests/functional/builtins/codegen/test_extract32.py @@ -11,8 +11,10 @@ def test_extract32_extraction(tx_failed, get_contract_with_gas_estimation, locat ) if location == "storage": decl = "y: Bytes[100]" - else: + elif location == "transient": decl = "y: transient(Bytes[100])" + else: + raise Exception("unreachable") extract32_code = f""" {decl} @external