Skip to content

Commit fd93d89

Browse files
committed
Update test outputs
1 parent b27b409 commit fd93d89

1 file changed

Lines changed: 10 additions & 17 deletions

File tree

tests/testsuite/cargo_tree/deps.rs

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,10 +1332,9 @@ fn host_dep_feature() {
13321332
p.cargo("tree")
13331333
.with_stdout_data(str![[r#"
13341334
foo v0.1.0 ([ROOT]/foo)
1335-
└── bar v1.0.0
1336-
└── optdep v1.0.0
1337-
[build-dependencies]
1338-
└── bar v1.0.0 (*)
1335+
├── bar v1.0.0
1336+
│ └── optdep v1.0.0
1337+
└── optdep v2.0.0
13391338
13401339
"#]])
13411340
.run();
@@ -1355,8 +1354,6 @@ bar v1.0.0
13551354
optdep v1.0.0
13561355
└── bar v1.0.0
13571356
└── foo v0.1.0 ([ROOT]/foo)
1358-
[build-dependencies]
1359-
└── foo v0.1.0 ([ROOT]/foo)
13601357
13611358
"#]])
13621359
.run();
@@ -1367,19 +1364,16 @@ optdep v1.0.0
13671364
p.cargo("tree")
13681365
.with_stdout_data(str![[r#"
13691366
foo v0.1.0 ([ROOT]/foo)
1370-
└── bar v1.0.0
1371-
[build-dependencies]
1372-
└── bar v1.0.0
1373-
└── optdep v1.0.0
1367+
├── bar v1.0.0
1368+
│ └── optdep v1.0.0
1369+
└── optdep v2.0.0
13741370
13751371
"#]])
13761372
.run();
13771373

13781374
p.cargo("tree -p bar")
13791375
.with_stdout_data(str![[r#"
13801376
bar v1.0.0
1381-
1382-
bar v1.0.0
13831377
└── optdep v1.0.0
13841378
13851379
"#]])
@@ -1389,7 +1383,6 @@ bar v1.0.0
13891383
.with_stdout_data(str![[r#"
13901384
optdep v1.0.0
13911385
└── bar v1.0.0
1392-
[build-dependencies]
13931386
└── foo v0.1.0 ([ROOT]/foo)
13941387
13951388
"#]])
@@ -1398,11 +1391,11 @@ optdep v1.0.0
13981391
// Check that -d handles duplicates with features.
13991392
p.cargo("tree -d")
14001393
.with_stdout_data(str![[r#"
1401-
bar v1.0.0
1402-
└── foo v0.1.0 ([ROOT]/foo)
1394+
optdep v1.0.0
1395+
└── bar v1.0.0
1396+
└── foo v0.1.0 ([ROOT]/foo)
14031397
1404-
bar v1.0.0
1405-
[build-dependencies]
1398+
optdep v2.0.0
14061399
└── foo v0.1.0 ([ROOT]/foo)
14071400
14081401
"#]])

0 commit comments

Comments
 (0)