summaryrefslogtreecommitdiff
path: root/tests/misc/test_chained.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/test_chained.zc')
-rw-r--r--tests/misc/test_chained.zc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/test_chained.zc b/tests/misc/test_chained.zc
index e758db7..a92ae18 100644
--- a/tests/misc/test_chained.zc
+++ b/tests/misc/test_chained.zc
@@ -2,8 +2,8 @@
import "std/string.zc"
test "test_chained" {
- var s = String::from("hello");
- var opt = s.find('e');
+ let s = String::from("hello");
+ let opt = s.find('e');
if opt.is_some() {
"Found at index: {opt.unwrap()}";
}