hare

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

commit 4e9163356102730d375f0f31b50d8e91b597fc98
parent 6cab6ee38d5f787a4791a54d84122c407a0ab0b1
Author: Ember Sawady <ecs@d2evs.net>
Date:   Wed, 11 Oct 2023 05:21:21 +0000

strings: get rid of an extra newline

Signed-off-by: Ember Sawady <ecs@d2evs.net>

Diffstat:
Mstrings/compare.ha | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/strings/compare.ha b/strings/compare.ha @@ -15,7 +15,6 @@ export fn compare(a: str, b: str) int = { return if (len(a) == len(b)) 0 else ln.1; }; - @test fn compare() void = { assert(compare("ABC", "ABC") == 0); assert(compare("ABC", "AB") > 0);