Skip to content

Commit

Permalink
change some cuzz.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Dec 16, 2024
1 parent 4cc31d2 commit 2936ea8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"crypto-browserify": "^3.12.0",
"cuzz": "github:demergent-labs/cuzz#789428a762f6f31b3a44d9f70ccd3a0fe1831f3a",
"cuzz": "github:demergent-labs/cuzz#983028141f64e7968a3a0c4f305e75c245480115",
"deep-is": "^0.1.4",
"esbuild": "^0.24.0",
"esbuild-plugin-tsc": "^0.4.0",
Expand Down
14 changes: 10 additions & 4 deletions tests/end_to_end/candid_rpc/class_syntax/list_of_lists/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"expectedErrors": ["Anything you want"],
"maxLength": {
"text": 100,
"vec": 100,
"blob": 100
"size": {
"text": {
"max": 100
},
"vec": {
"max": 100
},
"blob": {
"max": 100
}
}
}
6 changes: 4 additions & 2 deletions tests/end_to_end/candid_rpc/class_syntax/timers/cuzz.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"expectedErrors": ["field repeat -> Invalid int8 argument"],
"nat64": {
"max": 1000000000
"size": {
"nat64": {
"max": "1000000000"
}
}
}

0 comments on commit 2936ea8

Please sign in to comment.