Fix CI text check to account for new panic info fmt
This commit is contained in:
parent
e50b916b7f
commit
953591ff1b
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -37,10 +37,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Check log
|
- name: Check log
|
||||||
run: |
|
run: |
|
||||||
grep "panicked at 'panic', example/src/main.rs:36:5" run.log
|
grep -Pz 'panicked at example/src/main.rs:36:5:\npanic\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\ndropped: "string"\ncaught\npanicked at example/src/main.rs:46:5:\npanic\npanicked at example/src/main.rs:25:9:\npanic on drop\n( *\d+:.*\n)+thread panicked while processing panic\. aborting\.' run.log
|
||||||
grep 'note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace' run.log
|
|
||||||
grep 'dropped: "string"' run.log
|
|
||||||
grep 'caught' run.log
|
|
||||||
grep "panicked at 'panic', example/src/main.rs:46:5" run.log
|
|
||||||
grep "panicked at 'panic on drop', example/src/main.rs:25:9" run.log
|
|
||||||
grep "thread panicked while processing panic. aborting." run.log
|
|
||||||
|
Loading…
Reference in New Issue
Block a user