aboutsummaryrefslogtreecommitdiffstats
path: root/test/typedregex1.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2015-06-19 12:40:38 +0300
committerArnold D. Robbins <arnold@skeeve.com>2015-06-19 12:40:38 +0300
commitf7cd8a03c09a00c4cb520f881bbe838cf76e718f (patch)
treeb4089722a537426cf28d607a2eab7e8be01c29d9 /test/typedregex1.ok
parent20037f36ee350ee64699d311e4296be1f0367dd2 (diff)
downloadegawk-f7cd8a03c09a00c4cb520f881bbe838cf76e718f.tar.gz
egawk-f7cd8a03c09a00c4cb520f881bbe838cf76e718f.tar.bz2
egawk-f7cd8a03c09a00c4cb520f881bbe838cf76e718f.zip
Cleanup files and fix up tests for typed regexes and typeof.
Diffstat (limited to 'test/typedregex1.ok')
-rw-r--r--test/typedregex1.ok37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/typedregex1.ok b/test/typedregex1.ok
new file mode 100644
index 00000000..03ef7cfa
--- /dev/null
+++ b/test/typedregex1.ok
@@ -0,0 +1,37 @@
+switch-case: ok
+match ~: ok
+match !~: ok
+variable match ~: ok
+variable match !~: ok
+variable as numeric value: ok
+variable as string value: ok
+typeof constant: ok
+typeof variable: ok
+conversion to number: ok
+typeof variable after conversion: ok
+match(constant): ok
+match(variable): ok
+match(constant) indirect: ok
+match(variable) indirect: ok
+sub(constant): ok
+sub(variable): ok
+sub(constant) indirect: ok
+sub(variable) indirect: ok
+gsub(constant): ok
+gsub(variable): ok
+gsub(constant) indirect: ok
+gsub(variable) indirect: ok
+gensub(constant): ok
+gensub(variable): ok
+gensub(constant) indirect: ok
+gensub(variable) indirect: ok
+gensub(constant) indirect 2: ok
+gensub(variable) indirect 2: ok
+split(constant): ok
+split(variable): ok
+split(constant) indirect: ok
+split(variable) indirect: ok
+patsplit(constant): ok
+patsplit(variable): ok
+patsplit(constant) indirect: ok
+patsplit(variable) indirect: ok