summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/memb_2
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-11-30 15:09:07 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2015-11-30 15:09:07 +0100
commitbb49b7add4e63f8cb10130ed860107e5eda95018 (patch)
tree3c811ed7076284db2ebdcee3d2ffcfb0b5f06411 /prolog/problems/lists/memb_2
parent8d7d287e088068c661a241f88cf70412b5121a58 (diff)
Reformat Prolog test cases with lists
Diffstat (limited to 'prolog/problems/lists/memb_2')
-rw-r--r--prolog/problems/lists/memb_2/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/problems/lists/memb_2/common.py b/prolog/problems/lists/memb_2/common.py
index 0704a50..30a6dfd 100644
--- a/prolog/problems/lists/memb_2/common.py
+++ b/prolog/problems/lists/memb_2/common.py
@@ -18,7 +18,7 @@ memb(X, [_|T]) :-
test_cases = [
('memb(c, [X])',
[{'X': 'c'}]),
- ('memb(X, [y,l,r,g,a])',
+ ('memb(X, [y, l, r, g, a])',
[{'X': 'y'}, {'X': 'l'}, {'X': 'r'}, {'X': 'g'}, {'X': 'a'}]),
]