summaryrefslogtreecommitdiff
path: root/cmd/algofix/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/algofix/main_test.go')
-rw-r--r--cmd/algofix/main_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/algofix/main_test.go b/cmd/algofix/main_test.go
index c2ace28ca..fad46ca7c 100644
--- a/cmd/algofix/main_test.go
+++ b/cmd/algofix/main_test.go
@@ -9,6 +9,8 @@ import (
"go/parser"
"strings"
"testing"
+
+ "github.com/algorand/go-algorand/test/partitiontest"
)
type testCase struct {
@@ -73,6 +75,7 @@ func parseFixPrint(t *testing.T, fn func(*ast.File) bool, desc, in string, mustB
}
func TestRewrite(t *testing.T) {
+ partitiontest.PartitionTest(t)
for _, tt := range testCases {
// Apply fix: should get tt.Out.
out, fixed, ok := parseFixPrint(t, tt.Fn, tt.Name, tt.In, true)