cfg unix for tests with unix path

This commit is contained in:
hamidreza kalbasi 2021-09-09 17:57:46 +04:30
parent 5163201847
commit 1103e390e0

View File

@ -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 @@ fn metadata() {
}
#[test]
#[cfg(unix)]
fn document() {
let data = Entry {
id: lsp_types::NumberOrString::Number(1),