8000 Merge pull request #12 from fcard/fix-assoc-array-tests · coderofsalvation/powscript@959e92e · GitHub
[go: up one dir, main page]

Skip to content

Commit 959e92e

Browse files
Merge pull request #12 from fcard/fix-assoc-array-tests
Fix associative array tests on code-1.pow
2 parents 38a4a93 + d960d52 commit 959e92e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/code-1.pow

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ myfunc()
7878
simple_arrays
7979
associative_arrays
8080

81-
foo={}
82-
bar={}
83-
foo["one"]="foo"
84-
bar["foo"]="123"
85-
map foo values | pipemap pick bar
86-
echo last="$(last foo)"
81+
afoo={}
82+
abar={}
83+
afoo["one"]="foo"
84+
abar["foo"]="123"
85+
map afoo values | pipemap pick abar
86+
echo last="$(last afoo)"
8787

8888
math '9 / 2'
8989
math '9 / 2' 4

0 commit comments

Comments
 (0)
0