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

Commit 9bfa6b4

Browse files
committed
fix tests including dead code warnings
1 parent 7241c6c commit 9bfa6b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fn client_test_infer_bin() {
4545
let diag = rls.wait_for_diagnostics();
4646

4747
assert!(diag.uri.as_str().ends_with("src/main.rs"));
48-
assert!(diag.diagnostics[0].message.contains("struct is never constructed: `UnusedBin`"));
48+
assert!(diag.diagnostics[0].message.contains("struct `UnusedBin` is never constructed"));
4949
}
5050

5151
#[test]
@@ -59,7 +59,7 @@ fn client_test_infer_lib() {
5959
let diag = rls.wait_for_diagnostics();
6060

6161
assert!(diag.uri.as_str().ends_with("src/lib.rs"));
62-
assert!(diag.diagnostics[0].message.contains("struct is never constructed: `UnusedLib`"));
62+
assert!(diag.diagnostics[0].message.contains("struct `UnusedLib` is never constructed"));
6363
}
6464

6565
#[test]

0 commit comments

Comments
 (0)