Skip to content

Commit 093a37a

Browse files
committed
fixed misleading tests
This is what fooled me in #15
1 parent f64573e commit 093a37a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,7 @@ describe('when inclusion and negation patterns are defined', function () {
9494
expect(mm(['foo', 'bar', 'baz'], ['!*a*'])).to.eql([]);
9595
});
9696

97-
it('should override negations and re-include explicitly defined patterns', function () {
98-
expect(mm(['foo', 'bar', 'baz'], ['!*a*', '*z'])).to.eql(['baz']);
99-
});
100-
101-
it('patterns should be order insensitive', function () {
97+
it('patterns should be order sensitive', function () {
10298
expect(mm(['foo', 'bar', 'baz'], ['!*a*', '*z'])).to.eql(['baz']);
10399
expect(mm(['foo', 'bar', 'baz'], ['*z', '!*a*'])).to.eql([]);
104100
expect(mm(['foo', 'foam', 'for', 'forum'], ['!*m', 'f*'])).to.eql(['foo', 'foam', 'for', 'forum']);

0 commit comments

Comments
 (0)