We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c821c commit 263799cCopy full SHA for 263799c
framework/encrypt/encrypt_test.go
@@ -52,7 +52,7 @@ func TestEncryptDecrypt(t *testing.T) {
52
53
// For empty strings, encryption should return empty
54
if tc.plaintext == "" {
55
- if encrypted == "" {
+ if encrypted != "" {
56
t.Errorf("Expected empty string for empty input, got: %s", encrypted)
57
}
58
return
0 commit comments