add regression test for discussion 3359

This commit is contained in:
Skgland
2026-06-03 21:09:39 +02:00
parent 3ce16656ee
commit 3a2d57db33
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
:- use_module(library(clpz)).
:- use_module(library(tabling)).
:- table expr//0.
expr --> "1".
expr --> expr, "+", expr.
run :- phrase(expr, "1+1+1+1+1").
:- initialization(run).

View File

@@ -173,3 +173,9 @@ fn http_open_hanging() {
"received response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\n" "received response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\nreceived response with status code:200\n"
); );
} }
#[test]
#[cfg_attr(miri, ignore = "it takes too long to run")]
fn discussion3359() {
load_module_test("tests-pl/discussion3359.pl", "");
}