We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e49903 commit 36ea40aCopy full SHA for 36ea40a
test/broken-url/index.js
@@ -0,0 +1,14 @@
1
+var test = require("tape");
2
+var fs = require("fs");
3
+var collect = require("collect-stream");
4
+var plugin = require("../..");
5
+var gulp = require("gulp");
6
+
7
+test('Broken urls', function(t) {
8
+ var stream = gulp.src("style.css")
9
+ .pipe(plugin());
10
+ collect(stream, function(err, vinyls) {
11
+ t.assert(err);
12
+ t.end();
13
+ });
14
+});
test/broken-url/style.css
@@ -0,0 +1,2 @@
+@import 'http://foo.bar.com/x.css';
+body {}
0 commit comments