aboutsummaryrefslogtreecommitdiffstats
path: root/test/indirectbuiltin.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/indirectbuiltin.awk')
-rw-r--r--test/indirectbuiltin.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/indirectbuiltin.awk b/test/indirectbuiltin.awk
index c9e75217..8ca8f6c6 100644
--- a/test/indirectbuiltin.awk
+++ b/test/indirectbuiltin.awk
@@ -198,10 +198,10 @@ BEGIN {
# regexp functions
fun = "match"
- b1 = match("o+", "fooob")
+ b1 = match("fooob", "o+")
rstart = RSTART
rlength = RLENGTH
- i1 = @fun("o+", "fooob")
+ i1 = @fun("fooob", "o+")
print_result("regexp", fun, b1, i1)
if (rstart != RSTART) {
printf("match: failure: biRSTART (%d) != iRSTART (%d)\n",