summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2018-08-16 00:36:38 -0700
committerJames R. Barlow <jim@purplerock.ca>2018-08-16 00:36:38 -0700
commit3acca3c0ca85f6838884abc91eb474fb1469e9d6 (patch)
treeea0f585295832e911f413566d78586bd7df261c2 /tests
parent6c6df5c6406554a19045e4178229ca1657c73954 (diff)
Fix Array() to create empty array
Diffstat (limited to 'tests')
-rw-r--r--tests/test_object.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_object.py b/tests/test_object.py
index ecb8ef5..601fa07 100644
--- a/tests/test_object.py
+++ b/tests/test_object.py
@@ -146,6 +146,7 @@ def test_bytes():
def test_len_array():
assert len(Array([])) == 0
+ assert len(Array()) == 0
assert len(Array([3])) == 1