diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-17 23:28:30 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-05 15:30:41 +0300 |
commit | 3ecbf5d51b13e11a93ae5757408a27c21d804c9f (patch) | |
tree | be46e3caa24574de106c2fbf1a05c43d32694e12 /unit-tests/function/call.test | |
parent | a63e1809afd9a837821d6e8376cb14a36e7fc26e (diff) |
Add support for regex in runner
Diffstat (limited to 'unit-tests/function/call.test')
-rw-r--r-- | unit-tests/function/call.test | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/unit-tests/function/call.test b/unit-tests/function/call.test index 9129785..5584c15 100644 --- a/unit-tests/function/call.test +++ b/unit-tests/function/call.test @@ -63,11 +63,16 @@ EOE : ambig : -$* <'$ambig(abc)' 2>- != 0 # @@ REGEX -#buildfile:1:2: error: ambiguous call to ambig(<untyped>) -# info: candidate: ambig(<untyped> [, uint64]), qualified name dummy.ambig -# info: candidate: ambig(<untyped> [, string]), qualified name dummy.ambig -#EOE +$* <'$ambig(abc)' 2>>~/EOE/ != 0 +buildfile:1:2: error: ambiguous call to ambig(<untyped>) +/(( + info: candidate: ambig(<untyped> [, uint64]), qualified name dummy.ambig + info: candidate: ambig(<untyped> [, string]), qualified name dummy.ambig +/)|( + info: candidate: ambig(<untyped> [, string]), qualified name dummy.ambig + info: candidate: ambig(<untyped> [, uint64]), qualified name dummy.ambig +/)) +EOE : optional-absent : @@ -115,11 +120,16 @@ EOE : print-fovl : -$* <'$ambig([bool] true)' 2>- != 0 # @@ REGEX -#buildfile:1:2: error: unmatched call to ambig(bool) -# info: candidate: ambig(<untyped> [, uint64]), qualified name dummy.ambig -# info: candidate: ambig(<untyped> [, string]), qualified name dummy.ambig -#EOE +$* <'$ambig([bool] true)' 2>>~/EOE/ != 0 +buildfile:1:2: error: unmatched call to ambig(bool) +/(( + info: candidate: ambig(<untyped> [, uint64]), qualified name dummy.ambig + info: candidate: ambig(<untyped> [, string]), qualified name dummy.ambig +/)|( + info: candidate: ambig(<untyped> [, string]), qualified name dummy.ambig + info: candidate: ambig(<untyped> [, uint64]), qualified name dummy.ambig +/)) +EOE : print-fovl-variadic : |