✓
Passing This code compiles and runs correctly.
Code
~event match { path: []const u8, pattern: []const u8 }
| ok []const u8
~test(Should fail clearly) {
~match => ok { path: "/", pattern: "/" }
}
Must fail at runtime:
Program must error when executed.
Test Configuration
Expected Error:
missing required field