✓
Passing This code compiles and runs correctly.
Code
import std/guide
import std/io
std/guide:add(book-flight -> error) { When booking fails, check payment_methods first. }
std/guide:add(* -> error) { An edge fired unarmed — check vocabulary(). }
std/guide(book-flight -> error)
| guide t |> std/io:print.ln("{{ t:s }}")
| not-found |> std/io:print.ln("MISS")
std/guide(nonexistent -> error)
| guide t |> std/io:print.ln("{{ t:s }}")
| not-found |> std/io:print.ln("MISS")
Supporting Files
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
book-flight->error When booking fails, check payment_methods first.
*->error An edge fired unarmed — check vocabulary().
Actual
When booking fails, check payment_methods first.
An edge fired unarmed — check vocabulary().
Expected output
When booking fails, check payment_methods first.
An edge fired unarmed — check vocabulary().
Flows
flow ~add click a branch to expand · @labels scroll to their anchor
add (expr: book-flight -> error, source: When booking fails, check payment_methods first.)
flow ~add click a branch to expand · @labels scroll to their anchor
add (expr: * -> error, source: An edge fired unarmed — check vocabulary().)
flow ~std/guide click a branch to expand · @labels scroll to their anchor
std/guide (book-flight -> error)
flow ~std/guide click a branch to expand · @labels scroll to their anchor
std/guide (nonexistent -> error)
Test Configuration
MUST_RUN