]> Repositorios git - scryer-prolog.git/commitdiff
Use lib constructor in lib tests
authorNicolas Luck <[email protected]>
Mon, 17 Jul 2023 19:47:43 +0000 (21:47 +0200)
committerNicolas Luck <[email protected]>
Mon, 17 Jul 2023 19:47:43 +0000 (21:47 +0200)
src/machine/lib_machine.rs

index 7b749561095e1a468ef406e94ee1e3656b3ac7d6..708c524f98073086b82a9566b54bbc5b573f451d 100644 (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",