fix UB in ffi tests
This commit is contained in:
committed by
Bennet Bleßmann
parent
e1246f0c83
commit
760e1d2aac
@@ -54,7 +54,7 @@ pub(crate) fn load_module_test_with_tokio_runtime<T: Expectable>(file: &str, exp
|
||||
|
||||
pub(crate) fn load_module_test_with_input<T: Expectable>(
|
||||
file: &str,
|
||||
input: Cow<'static, str>,
|
||||
input: impl Into<Cow<'static, str>>,
|
||||
expected: T,
|
||||
) {
|
||||
use scryer_prolog::MachineBuilder;
|
||||
|
||||
Reference in New Issue
Block a user