From ad8ffee0ab8d1ffe492cf7a5d528845daf0cf915 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 12 May 2021 18:24:16 +0300 Subject: [PATCH] *: remove redundant `return` statements Found by gosimple via golangci-lint. --- cli/nep17_test.go | 1 - pkg/compiler/binary_expr_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/cli/nep17_test.go b/cli/nep17_test.go index cc85497ee..5f94c344f 100644 --- a/cli/nep17_test.go +++ b/cli/nep17_test.go @@ -99,7 +99,6 @@ func TestNEP17Balance(t *testing.T) { t.Run("Bad wallet", func(t *testing.T) { e.RunWithError(t, append(cmdbalance, "--wallet", "/dev/null")...) }) - return } func TestNEP17Transfer(t *testing.T) { diff --git a/pkg/compiler/binary_expr_test.go b/pkg/compiler/binary_expr_test.go index 0afb2bcc2..899beaf89 100644 --- a/pkg/compiler/binary_expr_test.go +++ b/pkg/compiler/binary_expr_test.go @@ -339,7 +339,6 @@ func TestBooleanExprs(t *testing.T) { t.Run(triple[i].s, getBoolExprTestFunc(triple[i].val, triple[i].s)) } }) - return } func TestShortCircuit(t *testing.T) {