Use lib constructor in lib tests

This commit is contained in:
Nicolas Luck
2023-07-17 21:47:43 +02:00
parent e7f1e32ee3
commit 3947390877

View File

@@ -32,7 +32,7 @@ mod tests {
#[test]
fn programatic_query() {
let mut machine = Machine::with_test_streams();
let mut machine = Machine::new_lib();
machine.load_module_string(
"facts",