Skip to content

Commit

Permalink
Update parameters.test.w
Browse files Browse the repository at this point in the history
  • Loading branch information
eladb authored Sep 5, 2024
1 parent 6ac3c20 commit 4b32c27
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/invalid/parameters.test.w
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
let app = @app;

struct MyParams {
foo: str;
}

app.parameters.addSchema(MyParams.schema());
@app.parameters.addSchema(MyParams.schema());

// Error: Parameter validation errors:
// - must have required property 'foo'
Expand Down

0 comments on commit 4b32c27

Please sign in to comment.