pr fix
Kubernetes-commit: 4e3026fdb81667fd5a9fe928736b6e4d67b225e5
This commit is contained in:
parent
3a69c59961
commit
6c0aa1995f
|
@ -373,7 +373,19 @@ func TestDescribeSecret(t *testing.T) {
|
|||
t.Errorf("sensitive data should not be shown, unexpected out: %s", out)
|
||||
}
|
||||
|
||||
expectedOut := "Name: bar\nNamespace: foo\nLabels: <none>\nAnnotations: <none>\n\nType: \n\nData\n====\npassword: 16 bytes\nusername: 8 bytes\n"
|
||||
expectedOut := `Name: bar
|
||||
Namespace: foo
|
||||
Labels: <none>
|
||||
Annotations: <none>
|
||||
|
||||
Type:
|
||||
|
||||
Data
|
||||
====
|
||||
password: 16 bytes
|
||||
username: 8 bytes
|
||||
`
|
||||
|
||||
assert.Equal(t, expectedOut, out)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue