Start on a simple randomized test for FragmentList

This commit is contained in:
Antonio Scandurra 2021-12-06 16:08:17 +01:00
parent 8354d1520d
commit e37908cf3b
5 changed files with 99 additions and 6 deletions

View file

@ -12,6 +12,13 @@ use std::{
};
use unindent::Unindent as _;
#[cfg(test)]
#[ctor::ctor]
fn init_logger() {
// std::env::set_var("RUST_LOG", "info");
env_logger::init();
}
#[test]
fn test_select_language() {
let registry = LanguageRegistry {