Add randomized tests for incremental diff

This commit is contained in:
Antonio Scandurra 2023-08-23 09:09:01 +02:00
parent 3a511db5c9
commit a9871a7a70
5 changed files with 81 additions and 12 deletions

View file

@ -283,3 +283,11 @@ pub async fn stream_completion(
}
}
}
#[cfg(test)]
#[ctor::ctor]
fn init_logger() {
if std::env::var("RUST_LOG").is_ok() {
env_logger::init();
}
}