Skip to content

Commit

Permalink
ci: fix the failing error in the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
leventdem committed Jun 26, 2023
1 parent c6b8db0 commit 831a6f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/vm/tfhe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ func TfheTrivialSerializeDeserialize(t *testing.T, fheUintType fheUintType) {

func TfheDeserializeFailure(t *testing.T, fheUintType fheUintType) {
ct := new(tfheCiphertext)
err := ct.deserialize(make([]byte, 10), fheUintType)
input := make([]byte, 1)
input[0] = 42
err := ct.deserialize(input, fheUintType)
if err == nil {
t.Fatalf("deserialization must have failed")
}
Expand Down

0 comments on commit 831a6f5

Please sign in to comment.