mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-06 16:41:13 +00:00
internal: a bit more of cwd safety for flycheck
This commit is contained in:
parent
8df38aa797
commit
8d8c26e6f5
16 changed files with 72 additions and 52 deletions
|
@ -3,6 +3,7 @@
|
|||
#[macro_use]
|
||||
mod utils;
|
||||
use expect_test::expect;
|
||||
use paths::AbsPathBuf;
|
||||
use utils::*;
|
||||
|
||||
#[test]
|
||||
|
@ -95,7 +96,7 @@ fn list_test_macros() {
|
|||
|
||||
#[test]
|
||||
fn test_version_check() {
|
||||
let path = fixtures::proc_macro_test_dylib_path();
|
||||
let path = AbsPathBuf::assert(fixtures::proc_macro_test_dylib_path());
|
||||
let info = proc_macro_api::read_dylib_info(&path).unwrap();
|
||||
assert!(info.version.1 >= 50);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue