File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/zubanls/tests/slow-tests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1109,7 +1109,7 @@ fn test_virtual_environment() {
11091109 tracing:: info!( "Check adding the code again" ) ;
11101110 server. write_file_and_wait ( init, "foo = 1" ) ;
11111111 let mut result = server. expect_publish_diagnostics_for_file ( PATH ) ;
1112- if cfg ! ( target_os = "windows" ) && ! result. is_empty ( ) {
1112+ if cfg ! ( target_os = "windows" ) && result. len ( ) > 1 {
11131113 // On Windows events may be duplicated, because there is a Create event for writing
11141114 // and then a modification event.
11151115 result = server. expect_publish_diagnostics_for_file ( PATH ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -eu -o pipefail -x
44# Simply show the current rust version
55rustup show
66
7- RUST_BACKTRACE=1 cargo test --locked
7+ RUST_BACKTRACE=full cargo test --locked
88
99# On Windows pipefail causes problems with the command below, so deactivate it temporarily
1010set +o pipefail
You can’t perform that action at this time.
0 commit comments