Skip to content

Commit

Permalink
test: update dashevocmds_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shotonoff committed Feb 21, 2023
1 parent 848453f commit 6510c5c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion btcjson/dashevocmds_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,20 @@ func TestLLMQTypeValidate(t *testing.T) {
testCases := []struct {
llmqType btcjson.LLMQType
expectErr bool
}{{-1, true}, {0, true}, {1, false}, {2, false}, {5, false}, {6, true}, {99, true}, {100, false}, {105, false}, {106, true}}
}{
{-1, true},
{0, true},
{1, false},
{2, false},
{5, false},
{6, true},
{99, true},
{100, false},
{105, false},
{106, false},
{107, false},
{108, true},
}

for _, tc := range testCases {
t.Run(strconv.Itoa(int(tc.llmqType)), func(t *testing.T) {
Expand Down

0 comments on commit 6510c5c

Please sign in to comment.