✓
Passing This code compiles and runs correctly.
Code
// TEST: fmt:ln basic - format a string and get it back via | line continuation
import std/fmt
import std/io
tor greet { name: string } -> string
greet = std/fmt:ln("Hello, {{ name:s }}!")
| line l -> l.text
greet(name: "World"): g |> std/io:print.ln(g)
Actual
Hello, World!
Expected output
Hello, World!
Flows
subflow ~greet click a branch to expand · @labels scroll to their anchor
ln ("Hello, {{ name:s }}!")
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "World")
Test Configuration
MUST_RUN