mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
support catting subpatterns, fixes #87
This commit is contained in:
@@ -413,6 +413,12 @@ describe('Pattern', function () {
|
||||
['c'],
|
||||
);
|
||||
});
|
||||
it ('Can cat subpatterns', () => {
|
||||
sameFirst(
|
||||
slowcat('a', ['b','c']).fast(4),
|
||||
sequence('a', ['b', 'c']).fast(2)
|
||||
)
|
||||
})
|
||||
});
|
||||
describe('rev()', function () {
|
||||
it('Can reverse things', function () {
|
||||
|
||||
Reference in New Issue
Block a user