Fix CI text check to account for new panic info fmt

This commit is contained in:
Gary Guo 2023-08-05 16:44:24 +01:00
parent e50b916b7f
commit 953591ff1b

View File

@ -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