From e5524c3ff6852f1928aee0a570a14e86f57c9664 Mon Sep 17 00:00:00 2001 From: tserg <8017125+tserg@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:49:42 +0800 Subject: [PATCH] add decimal index --- tests/parser/syntax/test_dynamic_array.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/parser/syntax/test_dynamic_array.py b/tests/parser/syntax/test_dynamic_array.py index 0c23bf67da..025a460758 100644 --- a/tests/parser/syntax/test_dynamic_array.py +++ b/tests/parser/syntax/test_dynamic_array.py @@ -1,11 +1,17 @@ import pytest from vyper import compiler -from vyper.exceptions import StructureException +from vyper.exceptions import ArrayIndexException, StructureException fail_list = [ ( """ +foo: DynArray[uint256, 2.5] + """, + StructureException, + ), + ( + """ foo: DynArray[HashMap[uint8, uint8], 2] """, StructureException,