Disable test_run_module_predicate_throw under miri and support rustc < 1.83
This commit is contained in:
@@ -1272,6 +1272,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg_attr(miri, ignore)]
|
||||||
fn test_run_module_predicate_throw() {
|
fn test_run_module_predicate_throw() {
|
||||||
let mut machine = MachineBuilder::default()
|
let mut machine = MachineBuilder::default()
|
||||||
.with_toplevel(
|
.with_toplevel(
|
||||||
@@ -1282,8 +1283,6 @@ mod tests {
|
|||||||
)
|
)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let query = machine.run_module_predicate(atom!("$toplevel"), (atom!("repl"), 0));
|
machine.run_module_predicate(atom!("$toplevel"), (atom!("repl"), 0));
|
||||||
|
|
||||||
assert_eq!(query, std::process::ExitCode::SUCCESS);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user