tinyyarn

scenario testing of Unix command line tools
Log | Files | Refs | README | LICENSE

commit 4a0e87f86be277c8777bb143b99d65edc4ecbff7
parent d730f13072228eb0c4ba68aa15b0409db99ded73
Author: Richard Ipsum <richardipsum@fastmail.co.uk>
Date:   Mon, 18 Feb 2019 15:09:42 +0000

Fix: match entire line

Diffstat:
Mtyarn.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tyarn.in b/tyarn.in @@ -198,7 +198,7 @@ end function find_matching_implementation(implementations, step) for patt, impl in pairs(implementations) do - matched, matches = tyarn.re_find(step, patt) + matched, matches = tyarn.re_match(step, string.format("^%s$", patt)) if matched then return impl, matches end