Skip to content

Commit 7eee929

Browse files
committed
Shrink up
1 parent dc0e4bc commit 7eee929

1 file changed

Lines changed: 8 additions & 32 deletions

File tree

tests/success/match.msh

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -243,38 +243,14 @@ end
243243

244244
# OR patterns - quote style combinatorics: single/double quotes are
245245
# interchangeable in every position, hitting first and second alternative.
246-
"a" match
247-
'a' 'b' : "ss-first" wl,
248-
_ : "other" wl,
249-
end
250-
"b" match
251-
'a' 'b' : "ss-second" wl,
252-
_ : "other" wl,
253-
end
254-
"a" match
255-
"a" "b" : "dd-first" wl,
256-
_ : "other" wl,
257-
end
258-
"b" match
259-
"a" "b" : "dd-second" wl,
260-
_ : "other" wl,
261-
end
262-
"a" match
263-
'a' "b" : "sd-first" wl,
264-
_ : "other" wl,
265-
end
266-
"b" match
267-
'a' "b" : "sd-second" wl,
268-
_ : "other" wl,
269-
end
270-
"a" match
271-
"a" 'b' : "ds-first" wl,
272-
_ : "other" wl,
273-
end
274-
"b" match
275-
"a" 'b' : "ds-second" wl,
276-
_ : "other" wl,
277-
end
246+
"a" match 'a' 'b' : "ss-first" wl, _ : "other" wl, end
247+
"b" match 'a' 'b' : "ss-second" wl, _ : "other" wl, end
248+
"a" match "a" "b" : "dd-first" wl, _ : "other" wl, end
249+
"b" match "a" "b" : "dd-second" wl, _ : "other" wl, end
250+
"a" match 'a' "b" : "sd-first" wl, _ : "other" wl, end
251+
"b" match 'a' "b" : "sd-second" wl, _ : "other" wl, end
252+
"a" match "a" 'b' : "ds-first" wl, _ : "other" wl, end
253+
"b" match "a" 'b' : "ds-second" wl, _ : "other" wl, end
278254

279255
# Subject quoting style is also irrelevant
280256
'a' match

0 commit comments

Comments
 (0)