mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:12:22 +08:00
Chore: Enable whitespace linter (#25903)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@ -7,9 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func TestEncryption(t *testing.T) {
|
||||
|
||||
Convey("When getting encryption key", t, func() {
|
||||
|
||||
key, err := encryptionKeyToBytes("secret", "salt")
|
||||
So(err, ShouldBeNil)
|
||||
So(len(key), ShouldEqual, 32)
|
||||
@ -27,5 +25,4 @@ func TestEncryption(t *testing.T) {
|
||||
So(decryptErr, ShouldBeNil)
|
||||
So(string(decrypted), ShouldEqual, "grafana")
|
||||
})
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user