Skip to content

Commit

Permalink
Add test for issue 2756
Browse files Browse the repository at this point in the history
  • Loading branch information
adri326 committed Jan 7, 2025
1 parent 2a0e3b2 commit 0f1d816
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests-pl/issue2756-load-context.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:- initialization((M = user, loader:load_context(M))).
7 changes: 7 additions & 0 deletions tests/scryer/issues.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ fn issue2588_load_html() {
fn call_qualification() {
load_module_test("tests-pl/issue2361-call-qualified.pl", "");
}

#[serial]
#[test]
#[cfg_attr(miri, ignore = "it takes too long to run")]
fn issue2756_load_context_unreachable() {
load_module_test("tests-pl/issue2756-load-context.pl", "");
}

0 comments on commit 0f1d816

Please sign in to comment.