✓
Passing This code compiles and runs correctly.
Code
// MIRROR for `std/testing:assert.eq` and `std/testing:assert.contains`:
// multi-Expression transform invocations inside an imported module's tor.
// `app/lib` owns the checks; the entry composes by qualified name. A
// transform that resolves its emitted check only against the entry file's
// scope is invisible to the 395_014 run-flow control — this is the test
// that can see it.
import app/lib
app/lib:checks()
Supporting Files
import std/testing
import std/io
pub tor checks {}
checks = assert.eq(expected: 3, actual: 3)
|> assert.contains(haystack: "hello world", needle: "wor")
|> std/io:print.ln("mod asserts passed")
Actual
mod asserts passed
Expected output
mod asserts passed
Flows
flow ~checks click a branch to expand · @labels scroll to their anchor
checks
Test Configuration
MUST_RUN