hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 2052ee5eabfe626462e023b21348b664869b8768
parent f006dc005590370d2fbdbc0433ee163ef64afc4e
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sun, 10 Mar 2024 20:46:47 -0400

test: fix require's signature outside of +test

Diffstat:
Mtest/util.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/util.ha b/test/util.ha @@ -15,6 +15,6 @@ export fn skip(reason: str) never = { // Check the $HARETEST_INCLUDE space-delimited environment variable for // keywords. If all the keywords are present, return void. Otherwise, skip the // currently running test. -export fn require(keyword: str) void = { +export fn require(keywords: str...) void = { abort("Attempted to call test::require outside of @test function"); };