Skip to content

Commit

Permalink
remove ad-hoc assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dfgordon committed Jul 21, 2024
1 parent 601e302 commit adf21e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lang/merlin/tests/diagnostics_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use super::super::{MerlinVersion,diagnostics};
fn test_diagnostics(prog_name: &str, vers: Option<MerlinVersion>, expected_messages: &[&str]) {
use crate::lang::server::Analysis;
let ws = std::env::current_dir().expect("no cwd").join("tests").join("merlin");
assert_eq!(ws.to_str().unwrap(),"C:\\Users\\Daniel Gordon\\codes\\a2kit\\tests\\merlin");
let path = ws.join(prog_name);
let ws_uri = lsp_types::Url::from_directory_path(ws).expect("could not create workspace URL");
let doc = crate::lang::Document::from_file_path(&path).expect("failed to create doc");
Expand Down

0 comments on commit adf21e3

Please sign in to comment.