Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

Commit 9312460

Browse files
committed
Add more thorough tests
1 parent a7fe658 commit 9312460

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ describe('css-url-regex', function() {
1414
it('should not find a css url if it is not there', function() {
1515
assert.equal(cssUrl().test("('foo.css')"), false);
1616
});
17+
18+
it('should match multiple urls', function() {
19+
assert.deepEqual(
20+
"url(foo.css); url(bar.css);".match(cssUrl()),
21+
["url(foo.css)", "url(bar.css)"]);
22+
});
1723
});

0 commit comments

Comments
 (0)