Be conservative with visibility

This commit is contained in:
bakaq
2024-08-19 23:19:09 -03:00
parent 12a61cdff8
commit 806e980cca
7 changed files with 56 additions and 49 deletions

View File

@@ -26,7 +26,7 @@ impl Expectable for &[u8] {
/// Tests whether the file can be successfully loaded
/// and produces the expected output during it
pub(crate) fn load_module_test<T: Expectable>(file: &str, expected: T) {
use scryer_prolog::machine::mock_wam::*;
use scryer_prolog::Machine;
let mut wam = Machine::with_test_streams();
expected.assert_eq(wam.test_load_file(file).as_slice());