Skip to content

Commit

Permalink
sanity check + release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Tauber committed Aug 17, 2022
1 parent 6f3787e commit 534454c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all --verbose
args: --all --verbose --release
- name: Cargo Doc
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all --verbose
args: --all --verbose --release

coverage:
name: Test Coverage
Expand Down
2 changes: 1 addition & 1 deletion grammars/src/lib.rs
Expand Up @@ -52,7 +52,7 @@ mod tests {
"/resources/test/tomlfuzzsample2.toml"
));
const ERROR: &str = "call limit reached";
for limit in [100usize, 250, 500, 1000, 1500].iter() {
for limit in [1, 100usize, 250, 500, 1000, 1500].iter() {
dbg!(limit);
pest::set_call_limit(Some((*limit).try_into().unwrap()));
let s1 = toml::TomlParser::parse(toml::Rule::toml, sample1);
Expand Down

0 comments on commit 534454c

Please sign in to comment.