From 11028135bb1674af554e7160a9045b38f71601f5 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 22 Nov 2019 10:12:05 -0800 Subject: [PATCH] Fix test for latest nightly. --- tests/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/client.rs b/tests/client.rs index 7e2e7be07c3..3bc31594931 100644 --- a/tests/client.rs +++ b/tests/client.rs @@ -271,9 +271,9 @@ fn client_changing_workspace_lib_retains_diagnostics() { // lib unit tests have compile errors assert!(lib.diagnostics.iter().any(|m| m.message.contains("unused variable: `unused`"))); - assert!(lib.diagnostics.iter().any(|m| m.message.contains("expected u32, found u64"))); + assert!(lib.diagnostics.iter().any(|m| m.message.contains("expected `u32`, found `u64`"))); // bin depending on lib picks up type mismatch - assert!(bin.diagnostics[0].message.contains("mismatched types\n\nexpected u32, found u64")); + assert!(bin.diagnostics[0].message.contains("mismatched types\n\nexpected `u32`, found `u64`")); rls.notify::(DidChangeTextDocumentParams { content_changes: vec![TextDocumentContentChangeEvent {