mvcc: remove unnecessary type conversion

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-07-05 10:09:53 -07:00
parent e714dd01b3
commit bc18474029

View File

@ -227,7 +227,7 @@ func TestWatchDeleteRange(t *testing.T) {
}
w := s.NewWatchStream()
from, to := []byte(testKeyPrefix), []byte(fmt.Sprintf("%s_%d", testKeyPrefix, 99))
from, to := testKeyPrefix, []byte(fmt.Sprintf("%s_%d", testKeyPrefix, 99))
w.Watch(0, from, to, 0)
s.DeleteRange(from, to)