commit 6b4c2b30192c7fb6282dbca0ae8ed6c1a35db0c2
parent 1d1b6fdcbd58321de5c92c0e18cc50bcc4698467
Author: Lou Woell <lou.woell@posteo.de>
Date: Mon, 16 Feb 2026 18:24:40 +0100
Hare-0.26: fix test
The test module has a new Symbol, so we're expecting for 4 instead of 3.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cmd/harehelper/+test/list_test.ha b/cmd/harehelper/+test/list_test.ha
@@ -5,7 +5,7 @@ use hare::module;
use hare::parse;
use os;
-@test fn list_symbols () void = {
+@test fn list_symbols_test () void = {
const ctx = module::context {
harepath = harepath(),
harecache = match (os::getenv("HARECACHE")) {
@@ -21,9 +21,10 @@ use os;
case let e: error =>
fmt::fatalf("Error: {}", strerror(e));
case let l: []ast::ident =>
+ fmt::errorfln("N Symbols: {}", len(l))!;
yield l;
};
defer idents_finish(res);
- assert(len(res) == 3);
+ assert(len(res) == 4);
};