summaryrefslogtreecommitdiff
path: root/tests/xattr/xattr_integration_test.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2019-01-02 16:55:51 +0100
committerJakob Unterwurzacher2019-01-02 16:55:51 +0100
commit55a27a47dfb61cf553cf499802d614926b3b8a72 (patch)
tree3dd608eea7274edd08742ff9c77453f93a5df64a /tests/xattr/xattr_integration_test.go
parent772afa93f98aa77959995e42564b898057c59b87 (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.go2
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)