Skip to content

Commit 263799c

Browse files
authored
Apply suggestions from code review
1 parent d0c821c commit 263799c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/encrypt/encrypt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func TestEncryptDecrypt(t *testing.T) {
5252

5353
// For empty strings, encryption should return empty
5454
if tc.plaintext == "" {
55-
if encrypted == "" {
55+
if encrypted != "" {
5656
t.Errorf("Expected empty string for empty input, got: %s", encrypted)
5757
}
5858
return

0 commit comments

Comments
 (0)