summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSquirrel <squirrelhomebrew@gmail.com>2026-01-27 13:41:16 -0800
committerGitHub <noreply@github.com>2026-01-27 13:41:16 -0800
commit76118d8ea2369e4d89495bebeec52b98aaad56e4 (patch)
treead97f2c611972128232a29381f73c7d2251bf29d /tests
parent536b1d1400d6c39aea2177d54693272e21e42643 (diff)
sorry ok there fixed i think
Diffstat (limited to 'tests')
-rw-r--r--tests/std/test_regex.zc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/std/test_regex.zc b/tests/std/test_regex.zc
index 8459fc6..91c5d70 100644
--- a/tests/std/test_regex.zc
+++ b/tests/std/test_regex.zc
@@ -112,7 +112,7 @@ fn test_find() {
let re = Regex::compile("[0-9]+");
let m = re.find("abc123def456");
- if (m.is_some() { " find locates match"; }
+ if (m.is_some()) { " find locates match"; }
re.destroy();
"";
@@ -136,7 +136,7 @@ fn test_convenience_functions() {
if (regex_count("a", "banana") >= 1) { " regex_count works"; }
let m = regex_find("[0-9]+", "id: 42");
- if (m.is_some() { " regex_find works"; }
+ if (m.is_some()) { " regex_find works"; }
"";
}