aboutsummaryrefslogtreecommitdiffstats
path: root/test/rwarray.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/rwarray.awk')
-rw-r--r--test/rwarray.awk8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rwarray.awk b/test/rwarray.awk
index 831f17c3..b868fa45 100644
--- a/test/rwarray.awk
+++ b/test/rwarray.awk
@@ -55,11 +55,11 @@ BEGIN {
printf("dict[\"%s\"] should be strnum, is %s\n",
strnum_sub, typeof(dict[strnum_sub]));
- if (typeof(dict[bool_sub]) != "bool")
- printf("dict[\"%s\"] should be bool, is %s\n",
+ if (typeof(dict[bool_sub]) != "number|bool")
+ printf("dict[\"%s\"] should be number|bool, is %s\n",
bool_sub, typeof(dict[bool_sub]));
- if ((dict[bool_sub] "") != "TRUE")
- printf("dict[\"%s\"] should be TRUE, is %s\n",
+ if ((dict[bool_sub] "") != "1")
+ printf("dict[\"%s\"] should be 1, is %s\n",
bool_sub, dict[bool_sub]);
}