File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -38,22 +38,22 @@ describe("interpolateName()", () => {
38
38
} ) ;
39
39
} ) ;
40
40
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" ,
46
46
] . forEach ( hashName => {
47
47
it ( "should pick hash algorithm by name " + hashName , ( ) => {
48
48
assert . throws (
49
49
( ) => {
50
50
const interpolatedName = loaderUtils . interpolateName (
51
- { } , '[' + hashName + ' :hash:base64:10]' , { content :'a' }
51
+ { } , "[" + hashName + " :hash:base64:10]" , { content :"a" }
52
52
) ;
53
53
// if for any reason the system we're running on has a hash
54
54
// algorithm matching any of our bogus names, at least make sure
55
55
// the output is not the unmodified name:
56
- assert ( interpolatedName [ 0 ] != '[' ) ;
56
+ assert ( interpolatedName [ 0 ] !== '[' ) ;
57
57
} ,
58
58
/ d i g e s t m e t h o d n o t s u p p o r t e d / i
59
59
) ;
You can’t perform that action at this time.
0 commit comments