Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit baa4384

Browse files
committed
Fixed test that failed
1 parent 6971f8d commit baa4384

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/lcs/core/array/array.livecodescript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ on TestExtentsDecimal
123123
TestAssert "Extents of array with a decimal key", the extents of tArray is empty
124124

125125
delete variable tArray[1.0]
126-
TestAssert "Extents of array without key", the extents of tArray is (item 1 of tSequenceKeys, item -1 of tSequenceKeys)
126+
local tSequenceKeys
127+
put __keysForArray(kSequenceArray) into tSequenceKeys
128+
TestAssert "Extents of array without a decimal key", the extents of tArray is (item 1 of tSequenceKeys, item -1 of tSequenceKeys)
127129

128130
put "false" into tArray[pi]
129131
TestAssert "Extents of array with another decimal key", the extents of tArray is empty

0 commit comments

Comments
 (0)