diff options
author | alandonovan <adonovan@google.com> | 2019-05-28 16:29:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 16:29:25 -0400 |
commit | 30ae18b8564f6cd89b550b19dbdae92e0ec5b0a3 (patch) | |
tree | 4dc401c332185e222fe4c11bc8f67726467c2f6b /starlarktest | |
parent | 30b8578fa64c28cd0eba7c928f27a535ac0f81b8 (diff) | |
download | starlark-go-30ae18b8564f6cd89b550b19dbdae92e0ec5b0a3.tar.gz |
starlark: add a fail function (#210)
Updates bazelbuild/starlark#47
Diffstat (limited to 'starlarktest')
-rw-r--r-- | starlarktest/assert.star | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/starlarktest/assert.star b/starlarktest/assert.star index ba8b598..c6e480f 100644 --- a/starlarktest/assert.star +++ b/starlarktest/assert.star @@ -1,6 +1,7 @@ # Predeclared built-ins for this module: # # error(msg): report an error in Go's test framework without halting execution. +# This is distinct from the built-in fail function, which halts execution. # catch(f): evaluate f() and returns its evaluation error message, if any # matches(str, pattern): report whether str matches regular expression pattern. # module(**kwargs): a constructor for a module. |