Skip to content

Commit

Permalink
Merge 917b4f1 into 67499ff
Browse files Browse the repository at this point in the history
  • Loading branch information
leemars committed Sep 29, 2018
2 parents 67499ff + 917b4f1 commit 2ce975e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/interpolateName.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ describe("interpolateName()", () => {
assert.throws(
() => {
const interpolatedName = loaderUtils.interpolateName(
{ }, "[" + hashName + ":hash:base64:10]", {content:"a"}
{ }, "[" + hashName + ":hash:base64:10]", { content: "a" }
);
// if for any reason the system we're running on has a hash
// algorithm matching any of our bogus names, at least make sure
// the output is not the unmodified name:
assert(interpolatedName[0] !== '[');
assert(interpolatedName[0] !== "[");
},
/digest method not supported/i
);
Expand Down
1 change: 1 addition & 0 deletions test/parseQuery.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ describe("parseQuery()", () => {
it("should throw an error", () => {
assert.throws(
() => loaderUtils.parseQuery("a"),
Error,
"A valid query string passed to parseQuery should begin with '?'"
);
});
Expand Down

0 comments on commit 2ce975e

Please sign in to comment.