Use lib constructor in lib tests
This commit is contained in:
@@ -32,7 +32,7 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn programatic_query() {
|
fn programatic_query() {
|
||||||
let mut machine = Machine::with_test_streams();
|
let mut machine = Machine::new_lib();
|
||||||
|
|
||||||
machine.load_module_string(
|
machine.load_module_string(
|
||||||
"facts",
|
"facts",
|
||||||
|
|||||||
Reference in New Issue
Block a user