Skip to content

Commit

Permalink
nit: style
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Apr 4, 2024
1 parent 1a1567f commit 2771970
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/builtins/codegen/test_slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,10 @@ def test_slice_private(get_contract, location):
# test there are no buffer overruns in the slice function
if location == "storage":
decl = "bytez: public(String[12])"
else:
elif location == "transient":
decl = "bytez: public(transient(String[12]))"
else:
raise Exception("unreachable")

code = f"""
{decl}
Expand Down

0 comments on commit 2771970

Please sign in to comment.