diff options
author | Jakob Unterwurzacher | 2019-01-02 16:55:51 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-01-02 16:55:51 +0100 |
commit | 55a27a47dfb61cf553cf499802d614926b3b8a72 (patch) | |
tree | 3dd608eea7274edd08742ff9c77453f93a5df64a /tests/xattr/xattr_integration_test.go | |
parent | 772afa93f98aa77959995e42564b898057c59b87 (diff) |
tests: better error message for TestBase64XattrRead
Make clear what we have and what we want.
Diffstat (limited to 'tests/xattr/xattr_integration_test.go')
-rw-r--r-- | tests/xattr/xattr_integration_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xattr/xattr_integration_test.go b/tests/xattr/xattr_integration_test.go index 5c402cc..5eb5dd6 100644 --- a/tests/xattr/xattr_integration_test.go +++ b/tests/xattr/xattr_integration_test.go @@ -245,7 +245,7 @@ func TestBase64XattrRead(t *testing.T) { plainValue, err := xattr.LGet(plainFn, attrName2) if err != nil || string(plainValue) != attrValue { - t.Fatalf("Attribute binary value decryption error %s != %s %v", string(plainValue), attrValue, err) + t.Fatalf("Attribute binary value decryption error: have=%q want=%q err=%v", string(plainValue), attrValue, err) } encryptedAttrValue64 := base64.RawURLEncoding.EncodeToString(encryptedAttrValue) |