diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 14:20:18 -0400 |
| commit | 2bb2ff871fa1761478442bec5f6a32c9428360a1 (patch) | |
| tree | 9b73df7a0c50c02353ae7bca7c2cd54788ef0077 /test/optionals.tm | |
| parent | 59845e610f2c90474f34079d27b5f1e07071ded4 (diff) | |
Change method calls to use `foo.baz()` instead of `foo:baz()`
Diffstat (limited to 'test/optionals.tm')
| -rw-r--r-- | test/optionals.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/optionals.tm b/test/optionals.tm index 316b2e71..bf3e1633 100644 --- a/test/optionals.tm +++ b/test/optionals.tm @@ -57,7 +57,7 @@ func maybe_lambda(should_i:Bool-> func()?): func maybe_c_string(should_i:Bool->CString?): if should_i: - return ("hi":as_c_string())? + return ("hi".as_c_string())? else: return none @@ -248,7 +248,7 @@ func main(): >> nones : {Int?} = {none, none} >> also_nones : {Int?} = {none} >> nones == also_nones - >> [5?, none, none, 6?]:sorted() + >> [5?, none, none, 6?].sorted() = [none, none, 5, 6] do: |
