add tests for issue 3048

This commit is contained in:
Skgland
2025-08-16 15:29:25 +02:00
committed by Bennet Bleßmann
parent 93cc4d4898
commit e38ee14580
9 changed files with 160 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
:- use_module(library(assoc)).
test :-
empty_assoc(A1),
put_assoc(([a]-1), A1, 1, A2),
put_assoc(([a]-2), A2, 1, A3),
put_assoc(([b]-1), A3, 1, _).
?- test.
false, unexpected.
true.