summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSquirrel <squirrelhomebrew@gmail.com>2026-01-27 12:19:24 -0800
committerGitHub <noreply@github.com>2026-01-27 12:19:24 -0800
commit536b1d1400d6c39aea2177d54693272e21e42643 (patch)
tree3e0363e08bc57fd8fa923c77cab60fd5a8c93258 /tests
parent7b6eefac0e54a295f3a8b3f040f603295bb90156 (diff)
forgot ()
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 f1b840a..8459fc6 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"; }
"";
}