✗
Failing This test is currently failing.
Failed: backend-exec
Error Details
Panic: Mock shape validation failed
Failure Output
Showing last 10 of 26 lines
???:?:?: 0x100d0c653 in _backend_output_emitted.koru_std.koru_compiler.evaluate_comptime_event.handler (???)
???:?:?: 0x100d09223 in _backend_output_emitted.koru_std.koru_compiler.frontend_event.handler (???)
???:?:?: 0x100d08c13 in _backend_output_emitted.koru_std.koru_compiler.coordinate_event.handler (???)
???:?:?: 0x100d08a57 in _koru_coordinate (???)
???:?:?: 0x100c97913 in _backend.RuntimeEmitter.emit (???)
???:?:?: 0x100c986db in _backend.main (???)
???:?:?: 0x100c9e367 in _main (???)
???:?:?: 0x1873bbdff in ??? (???)
???:?:?: 0x0 in ??? (???)
/Users/larsde/src/koru/scripts/regression_lib.sh: line 341: 18943 Abort trap: 6 ./backend output Code
~event match { path: []const u8, pattern: []const u8 } -> []const u8
~test(Should fail clearly) {
~match -> { path: "/", pattern: "/" }
}
Must fail at runtime:
Program must error when executed.
Flows
flow ~test click a branch to expand · @labels scroll to their anchor
test (Should fail clearly, source: ~match -> { path: "/", pattern: "/" })
Test Configuration
Expected Error:
missing required field