mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2025-04-23 00:24:36 +00:00
Fix string trimming for bash
This commit is contained in:
parent
5e670710eb
commit
73afada7e7
2 changed files with 6 additions and 2 deletions
.forgejo/workflows
|
@ -80,7 +80,9 @@ jobs:
|
|||
set -x
|
||||
for testFile in $(ls tests/*.rs)
|
||||
do
|
||||
cargo test --test ${${testFile#tests/}%.rs}
|
||||
testFile=${testFile#tests/}
|
||||
testFile=${testFile%.rs}
|
||||
cargo test --test $testFile
|
||||
done
|
||||
env:
|
||||
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
|
||||
|
|
|
@ -80,7 +80,9 @@ jobs:
|
|||
set -x
|
||||
for testFile in $(ls tests/*.rs)
|
||||
do
|
||||
cargo test --test ${${testFile#tests/}%.rs}
|
||||
testFile=${testFile#tests/}
|
||||
testFile=${testFile%.rs}
|
||||
cargo test --test $testFile
|
||||
done
|
||||
env:
|
||||
RUSTFLAGS: --cfg tokio_unstable --cfg system_deps
|
||||
|
|
Loading…
Reference in a new issue