cfg unix for tests with unix path
This commit is contained in:
parent
5163201847
commit
1103e390e0
@ -176,6 +176,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(unix)]
|
||||||
fn metadata() {
|
fn metadata() {
|
||||||
let data = Entry {
|
let data = Entry {
|
||||||
id: lsp_types::NumberOrString::Number(1),
|
id: lsp_types::NumberOrString::Number(1),
|
||||||
@ -197,6 +198,7 @@ fn metadata() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(unix)]
|
||||||
fn document() {
|
fn document() {
|
||||||
let data = Entry {
|
let data = Entry {
|
||||||
id: lsp_types::NumberOrString::Number(1),
|
id: lsp_types::NumberOrString::Number(1),
|
||||||
|
Loading…
Reference in New Issue
Block a user