Skip to content

Commit dcc432d

Browse files
authored
Merge pull request #401 from webpack-contrib/add/test-395
Add tests for empty files
2 parents f44289b + a17a308 commit dcc432d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

test/index.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ syntaxStyles.forEach(ext => {
9393
data: "$prepended-data: hotpink;"
9494
}));
9595
});
96+
// See https://github.com/webpack-contrib/sass-loader/issues/21
97+
describe("empty files", () => {
98+
it("should compile without errors", () => execTest("empty"));
99+
});
96100
});
97101
});
98102

test/sass/empty.sass

Whitespace-only changes.

test/scss/empty.scss

Whitespace-only changes.

0 commit comments

Comments
 (0)