diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/indirectbuiltin.awk | 4 | ||||
-rw-r--r-- | test/numrange.awk | 4 | ||||
-rw-r--r-- | test/numrange.ok | 4 |
4 files changed, 11 insertions, 6 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 9ff97b2e..f0eac9bd 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2020-01-08 Arnold D. Robbins <arnold@skeeve.com> + + * indirectbuiltin.awk, numrange.awk, numrange.ok: Changes + after code changes. + 2019-11-09 Alexey Pawlow <alexey.pawlow@gmail.com> * Makefile.am (mbprintf5): Add check for MSYS. 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", diff --git a/test/numrange.awk b/test/numrange.awk index 3ad2cab5..4cb62602 100644 --- a/test/numrange.awk +++ b/test/numrange.awk @@ -1,5 +1,5 @@ BEGIN { n = split("-1.2e+931 1.2e+931", a) - for (i=1; i<=n; ++i) - print a[i], +a[i] + for (i = 1; i <= n; ++i) + print a[i], +a[i], -a[i] } diff --git a/test/numrange.ok b/test/numrange.ok index 73210bd3..1d747530 100644 --- a/test/numrange.ok +++ b/test/numrange.ok @@ -1,2 +1,2 @@ --1.2e+931 -inf -1.2e+931 +inf +-1.2e+931 -inf +inf +1.2e+931 +inf -inf |