diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 4 | ||||
-rw-r--r-- | test/rwarray.awk | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 299e55c9..8384b5db 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,7 @@ +2021-11-18 Arnold D. Robbins <arnold@skeeve.com> + + * rwarray.awk: Improve test, add string and numbers. + 2021-11-14 Arnold D. Robbins <arnold@skeeve.com> * iolint.awk: Disable test with race condition. Thanks to diff --git a/test/rwarray.awk b/test/rwarray.awk index 86a4b589..c06fec21 100644 --- a/test/rwarray.awk +++ b/test/rwarray.awk @@ -11,6 +11,11 @@ BEGIN { split("-2.4", f) dict[strnum_sub] = f[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" |