Skip to content

Commit 3cd3889

Browse files
committed
Fixes nitpick formatting
1 parent 0ad430a commit 3cd3889

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/interpolateName.test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,22 @@ describe("interpolateName()", () => {
3838
});
3939
});
4040

41-
[ 'sha1fakename',
42-
'9dxfakename',
43-
'RSA-SHA256-fakename',
44-
'ecdsa-with-SHA1-fakename',
45-
'tls1.1-sha512-fakename',
41+
[ "sha1fakename",
42+
"9dxfakename",
43+
"RSA-SHA256-fakename",
44+
"ecdsa-with-SHA1-fakename",
45+
"tls1.1-sha512-fakename",
4646
].forEach(hashName => {
4747
it("should pick hash algorithm by name " + hashName, () => {
4848
assert.throws(
4949
() => {
5050
const interpolatedName = loaderUtils.interpolateName(
51-
{}, '[' + hashName + ':hash:base64:10]', {content:'a'}
51+
{ }, "[" + hashName + ":hash:base64:10]", {content:"a"}
5252
);
5353
// if for any reason the system we're running on has a hash
5454
// algorithm matching any of our bogus names, at least make sure
5555
// the output is not the unmodified name:
56-
assert(interpolatedName[0] != '[');
56+
assert(interpolatedName[0] !== '[');
5757
},
5858
/digest method not supported/i
5959
);

0 commit comments

Comments
 (0)