Skip to content

Commit

Permalink
fix(logic): remove gocognit linter for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jan 18, 2023
1 parent 6ac378b commit 28904d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/logic/predicate/bank_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:gocognit
package predicate

import (
Expand Down Expand Up @@ -229,7 +230,8 @@ func TestBank(t *testing.T) {
),
},
},
program: `bank_spendable_has_sufficient_coin(A, C, S) :- bank_spendable_coins(A, R), member(C, R), -(_, V) = C, compare(>, V, S).`,
program: `bank_spendable_has_sufficient_coin(A, C, S) :- bank_spendable_coins(A, R), member(C, R),
-(_, V) = C, compare(>, V, S).`,
query: `bank_spendable_has_sufficient_coin('okp41wze8mn5nsgl9qrgazq6a92fvh7m5e6pslyrz38', C, 600).`,
wantResult: []types.TermResults{{"C": "uakt-4099"}, {"C": "uatom-693"}, {"C": "uband-4282"}, {"C": "ukava-836"}},
},
Expand Down

0 comments on commit 28904d4

Please sign in to comment.