From 8a4905be350313d41f6c0b20497809760d7fa84e Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 26 Jun 2015 12:46:54 +0300 Subject: Improve values returned by typeof. Fix tests and doc. --- test/typedregex1.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/typedregex1.awk') diff --git a/test/typedregex1.awk b/test/typedregex1.awk index fc8ba805..f308a335 100644 --- a/test/typedregex1.awk +++ b/test/typedregex1.awk @@ -69,7 +69,7 @@ function simple_tests( fbre, numresult, strresult) else print "conversion to number: fail" - if (typeof(fbre) == "scalar_n") + if (typeof(fbre) == "number") print "typeof variable after conversion: ok" else print "typeof variable after conversion: fail" -- cgit v1.2.3