Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Fix tests (fallout from rust-lang/rust#52332)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Aug 7, 2018
1 parent bd23d10 commit 6d4e0dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ fn test_infer_lib() {
ExpectedMessage::new(None).expect_contains("progress").expect_contains("infer_lib"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#"title":"Indexing""#),
ExpectedMessage::new(None).expect_contains("struct is never used: `UnusedLib`"),
ExpectedMessage::new(None).expect_contains("struct is never constructed: `UnusedLib`"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
],
);
Expand Down Expand Up @@ -1115,7 +1115,7 @@ fn test_infer_bin() {
ExpectedMessage::new(None).expect_contains("progress").expect_contains("infer_bin"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#"title":"Indexing""#),
ExpectedMessage::new(None).expect_contains("struct is never used: `UnusedBin`"),
ExpectedMessage::new(None).expect_contains("struct is never constructed: `UnusedBin`"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
],
);
Expand Down Expand Up @@ -1146,7 +1146,7 @@ fn test_infer_custom_bin() {
ExpectedMessage::new(None).expect_contains("progress").expect_contains("custom_bin"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#"title":"Indexing""#),
ExpectedMessage::new(None).expect_contains("struct is never used: `UnusedCustomBin`"),
ExpectedMessage::new(None).expect_contains("struct is never constructed: `UnusedCustomBin`"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
],
);
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn cmd_test_infer_bin() {
ExpectedMessage::new(None).expect_contains("progress").expect_contains("foo"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#"title":"Indexing""#),
ExpectedMessage::new(None).expect_contains("struct is never used: `UnusedBin`"),
ExpectedMessage::new(None).expect_contains("struct is never constructed: `UnusedBin`"),
ExpectedMessage::new(None).expect_contains("progress").expect_contains(r#""done":true"#),
]);

Expand Down

0 comments on commit 6d4e0dc

Please sign in to comment.