From 41b1d36bd97ade5083a98ff1a33c6a1db4a61e68 Mon Sep 17 00:00:00 2001 From: Marcondes Viana Date: Sun, 16 Apr 2023 17:44:40 -0300 Subject: [PATCH] fix review Signed-off-by: Marcondes Viana --- server/etcdserver/txn/txn_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/etcdserver/txn/txn_test.go b/server/etcdserver/txn/txn_test.go index 00be6e260..afc9c5933 100644 --- a/server/etcdserver/txn/txn_test.go +++ b/server/etcdserver/txn/txn_test.go @@ -163,7 +163,8 @@ func TestCheckTxnAuth(t *testing.T) { txnRequest: &pb.TxnRequest{ Compare: []*pb.Compare{ { - Key: []byte("boo"), + Key: []byte("boo"), + RangeEnd: []byte("zoo"), }, }, Success: []*pb.RequestOp{}, @@ -175,7 +176,8 @@ func TestCheckTxnAuth(t *testing.T) { txnRequest: &pb.TxnRequest{ Compare: []*pb.Compare{ { - Key: []byte("foo"), + Key: []byte("foo"), + RangeEnd: []byte("zoo"), }, }, Success: []*pb.RequestOp{},