Skip to content

Commit 03be6f5

Browse files
committed
Gofmt
1 parent 07c364e commit 03be6f5

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/Encryption/Hash/Hash_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,35 @@ func CoverCheck(t *testing.T, s, exp string) {
1515
// HashCheckSha1 - Test for Encryption
1616
func HashCheckSha1(t *testing.T) {
1717
want := "0a4d55a8d778e5022fab701977c5d840bbc486d0"
18-
CoverCheck(t, phpfuncs.Hash("sha1","Hello World"), want)
18+
CoverCheck(t, phpfuncs.Hash("sha1", "Hello World"), want)
1919
}
2020

2121
// HashCheckSha224 - Test for Encryption
2222
func HashCheckSha224(t *testing.T) {
2323
want := "c4890faffdb0105d991a461e668e276685401b02eab1ef4372795047"
24-
CoverCheck(t, phpfuncs.Hash("sha224","Hello World"), want)
24+
CoverCheck(t, phpfuncs.Hash("sha224", "Hello World"), want)
2525
}
2626

2727
// HashCheckSha256 - Test for Encryption
2828
func HashCheckSha256(t *testing.T) {
2929
want := "a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e"
30-
CoverCheck(t, phpfuncs.Hash("sha256","Hello World"), want)
30+
CoverCheck(t, phpfuncs.Hash("sha256", "Hello World"), want)
3131
}
3232

3333
// HashCheckSha384 - Test for Encryption
3434
func HashCheckSha384(t *testing.T) {
3535
want := "99514329186b2f6ae4a1329e7ee6c610a729636335174ac6b740f9028396fcc803d0e93863a7c3d90f86beee782f4f3f"
36-
CoverCheck(t, phpfuncs.Hash("sha384","Hello World"), want)
36+
CoverCheck(t, phpfuncs.Hash("sha384", "Hello World"), want)
3737
}
3838

3939
// HashCheckSha512 - Test for Encryption
4040
func HashCheckSha512(t *testing.T) {
4141
want := "2c74fd17edafd80e8447b0d46741ee243b7eb74dd2149a0ab1b9246fb30382f27e853d8585719e0e67cbda0daa8f51671064615d645ae27acb15bfb1447f459b"
42-
CoverCheck(t, phpfuncs.Hash("sha512","Hello World"), want)
42+
CoverCheck(t, phpfuncs.Hash("sha512", "Hello World"), want)
4343
}
4444

4545
// HashCheckSha512 - Test for Encryption (Expecting to return MD5 Hash)
4646
func HashCheckShaMD5NDefault(t *testing.T) {
4747
want := "b10a8db164e0754105b7a99be72e3fe5"
48-
CoverCheck(t, phpfuncs.Hash("sha12525","Hello World"), want)
49-
}
48+
CoverCheck(t, phpfuncs.Hash("sha12525", "Hello World"), want)
49+
}

0 commit comments

Comments
 (0)