File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -2992,32 +2992,9 @@ fn json_artifact_includes_test_flag() {
2992
2992
) . file ( "src/lib.rs" , "" )
2993
2993
. build ( ) ;
2994
2994
2995
- p. cargo ( "test -v --message-format=json" )
2995
+ p. cargo ( "test --lib - v --message-format=json" )
2996
2996
. with_json (
2997
2997
r#"
2998
- {
2999
- "reason":"compiler-artifact",
3000
- "profile": {
3001
- "debug_assertions": true,
3002
- "debuginfo": 2,
3003
- "opt_level": "0",
3004
- "overflow_checks": true,
3005
- "test": false
3006
- },
3007
- "executable": null,
3008
- "features": [],
3009
- "package_id":"foo 0.0.1 ([..])",
3010
- "target":{
3011
- "kind":["lib"],
3012
- "crate_types":["lib"],
3013
- "edition": "2015",
3014
- "name":"foo",
3015
- "src_path":"[..]lib.rs"
3016
- },
3017
- "filenames":["[..].rlib"],
3018
- "fresh": false
3019
- }
3020
-
3021
2998
{
3022
2999
"reason":"compiler-artifact",
3023
3000
"profile": {
You can’t perform that action at this time.
0 commit comments