From 8785e027cde23c8546066eaf1e5f8ec65bc07648 Mon Sep 17 00:00:00 2001 From: tserg <8017125+tserg@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:55:44 +0800 Subject: [PATCH] add darray test --- tests/functional/syntax/test_dynamic_array.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/functional/syntax/test_dynamic_array.py b/tests/functional/syntax/test_dynamic_array.py index 0c23bf67da..46e74615a2 100644 --- a/tests/functional/syntax/test_dynamic_array.py +++ b/tests/functional/syntax/test_dynamic_array.py @@ -24,6 +24,14 @@ def foo(): """, StructureException, ), + ( + """ +@external +def foo(): + a: DynArray[uint256, FOO] = [1, 2, 3] + """, + StructureException, + ), ]