mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
cfg unix for tests with unix path
This commit is contained in:
parent
5163201847
commit
1103e390e0
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,7 @@ mod tests {
|
|||
use super::*;
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn metadata() {
|
||||
let data = Entry {
|
||||
id: lsp_types::NumberOrString::Number(1),
|
||||
|
@ -197,6 +198,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(unix)]
|
||||
fn document() {
|
||||
let data = Entry {
|
||||
id: lsp_types::NumberOrString::Number(1),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue