aboutsummaryrefslogtreecommitdiffstats
path: root/test/rwarray.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-11-18 21:15:59 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-11-18 21:15:59 +0200
commit0c02a53775a80fe10dcd2b0ae5e857c1f22f8727 (patch)
tree735ff5700eef7c8ee97e7758fe7de94f958ed90b /test/rwarray.awk
parent6892647d502182ca383a4934c20bb0457fc44a51 (diff)
parentdc2613b0af11a8cf97232d55c322d40eda35c224 (diff)
downloadegawk-0c02a53775a80fe10dcd2b0ae5e857c1f22f8727.tar.gz
egawk-0c02a53775a80fe10dcd2b0ae5e857c1f22f8727.tar.bz2
egawk-0c02a53775a80fe10dcd2b0ae5e857c1f22f8727.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'test/rwarray.awk')
-rw-r--r--test/rwarray.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/rwarray.awk b/test/rwarray.awk
index eae22304..dfd74ce0 100644
--- a/test/rwarray.awk
+++ b/test/rwarray.awk
@@ -14,6 +14,11 @@ BEGIN {
bool_sub = "bool-sub"
dict[bool_sub] = mkbool(1)
+ dict["x"] = "x"
+
+ dict["42"] = 42
+ dict["42.42"] = 42.42
+
n = asorti(dict, dictindices)
for (i = 1; i <= n; i++)
printf("dict[%s] = %s\n", dictindices[i], dict[dictindices[i]]) > "orig.out"