From 0b0c9642b319a63cf40415f638414ea4f038bf6c Mon Sep 17 00:00:00 2001 From: tjmtmmnk Date: Sun, 13 Dec 2020 20:33:11 +0900 Subject: [PATCH] use v2 --- fuzzing_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzzing_test.go b/fuzzing_test.go index aa77bfd..3869b2f 100644 --- a/fuzzing_test.go +++ b/fuzzing_test.go @@ -67,7 +67,7 @@ var ( var ( out = flag.String("fuzzout", "fuzz.out", "fuzzing error cases") hotReload = flag.Bool("hotreload", false, "enable hot-reloading") - numCases = flag.Int("numCases", 10, "number of test cases") + numCases = flag.Int("numCases", 30, "number of test cases") numEvents = flag.Int("numEvents", 10, "number of events") ) @@ -127,7 +127,7 @@ func TestFuzz(t *testing.T) { var mu sync.Mutex tracks := tracks - f, term := fuzzyfinder.NewWithMockedTerminal() + f, term := fuzzyfinder.NewWithMockedTerminalV2() events = append(events, key(input{tcell.KeyEsc, rune(tcell.KeyEsc), tcell.ModNone})) if !term.IsTermboxVer() {