Commit ef783a3
committed
tests: Exclude new unset edition warning
```
thread 'short_flag' (15118) panicked at tests/test.rs:1358:10:
assertion failed: `!self.stderr.contains(..)`:
EXPECTED:
------------------------------------------------------------
member2
------------------------------------------------------------
ACTUAL:
------------------------------------------------------------
info: running `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo check -v --manifest-path member1/Cargo.toml` (1/1)warning: /tmp/.tmpwWHJCY/dir/not_find_manifest/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`warning: /tmp/.tmpwWHJCY/member2/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`warning: /tmp/.tmpwWHJCY/member1/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` Checking member1 v0.0.0 (/tmp/.tmpwWHJCY/member1) Running `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name member1 --edition=2015 member1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="a"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("a", "b", "c", "default"))' -C metadata=2637f23c2928f8aa -C extra-filename=-2dbf41e4258b8a44 --out-dir /tmp/.tmpwWHJCY/target/debug/deps -L dependency=/tmp/.tmpwWHJCY/target/debug/deps` Running `/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name member1 --edition=2015 member1/src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="a"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("a", "b", "c", "default"))' -C metadata=85c9ca9bd922b9ce -C extra-filename=-d4b6bd52bd70e7b2 --out-dir /tmp/.tmpwWHJCY/target/debug/deps -L dependency=/tmp/.tmpwWHJCY/target/debug/deps --extern member1=/tmp/.tmpwWHJCY/target/debug/deps/libmember1-2dbf41e4258b8a44.rmeta` Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
------------------------------------------------------------
```1 parent d7b436f commit ef783a3
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
0 commit comments