Skip to content

Commit c9f1b23

Browse files
committed
Fix jsontest error
1 parent d8b6751 commit c9f1b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rolling-shutter/cmd/cryptocmd/jsontests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func (et *encryptionTest) Run() error {
531531
return fmt.Errorf("failed encryption test on encoding expected: %s", err)
532532
}
533533
if !bytes.Equal(encoded, expectation) {
534-
return fmt.Errorf("failed encryption test on equal results: %s != %s", encoded, et.Expected)
534+
return fmt.Errorf("failed encryption test on equal results: %s != %s", encoded, expectation)
535535
}
536536
return nil
537537
}

0 commit comments

Comments
 (0)