hare

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

commit 6590d9eaa1b54044a307b37e41ba499abb4ac278
parent 85472552a7f3d40b26bc96b1ecb2604c4818e88b
Author: Sebastian <sebastian@sebsite.pw>
Date:   Sat, 28 Oct 2023 02:34:52 -0400

glob+test: use == for string equality checks

Signed-off-by: Sebastian <sebastian@sebsite.pw>

Diffstat:
Mglob/+test.ha | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/glob/+test.ha b/glob/+test.ha @@ -87,8 +87,8 @@ use strings; const dir = pattern_dir(&p); const pat = pattern_pat(&p); const rem = pattern_rem(&p); - assert(strings::compare(dir, cases[i].2) == 0); - assert(strings::compare(pat, cases[i].3) == 0); - assert(strings::compare(rem, cases[i].4) == 0); + assert(dir == cases[i].2); + assert(pat == cases[i].3); + assert(rem == cases[i].4); }; };