CafeKrem/PTL

[Pattern-matching] a list matcher with one element should match only a list with this element

Closed this issue · 0 comments

pattern := { 1  } asMatcher 
(pattern match: { 1 }) isMatch 

should be true

(pattern match: { 1 . 2 }) isMatch

should be false