Skip to content

Commit

Permalink
Regression test for rust-lang#13907
Browse files Browse the repository at this point in the history
  • Loading branch information
abhillman committed May 13, 2024
1 parent 2f17770 commit 228ee30
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/cargo/util/diagnostic_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,3 +328,13 @@ impl Drop for StartedServer {
drop(self.thread.take().unwrap().join());
}
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn test_rustfix_diagnostic_server() {
RustfixDiagnosticServer::new().unwrap();
}
}

0 comments on commit 228ee30

Please sign in to comment.