From abf0c2e6e1e6fa4b3cf58c1c8d1e6338439fc572 Mon Sep 17 00:00:00 2001
From: Matt Joiner <anacrolix@gmail.com>
Date: Thu, 27 Jun 2024 14:35:46 +1000
Subject: [PATCH] gorond

---
 issue-949_test.go                 |  6 ++++--
 storage/piece-completion.go       |  3 ++-
 tests/issue-952/issue-952_test.go |  6 ++++--
 tests/peers-bootstrapping/main.go | 16 +++++++++-------
 4 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/issue-949_test.go b/issue-949_test.go
index f04bd557..89b45929 100644
--- a/issue-949_test.go
+++ b/issue-949_test.go
@@ -1,9 +1,11 @@
 package torrent
 
 import (
-	"github.com/anacrolix/torrent/metainfo"
-	qt "github.com/frankban/quicktest"
 	"testing"
+
+	qt "github.com/frankban/quicktest"
+
+	"github.com/anacrolix/torrent/metainfo"
 )
 
 func TestIssue949LastPieceZeroPadding(t *testing.T) {
diff --git a/storage/piece-completion.go b/storage/piece-completion.go
index edc1e086..1260aba0 100644
--- a/storage/piece-completion.go
+++ b/storage/piece-completion.go
@@ -1,9 +1,10 @@
 package storage
 
 import (
-	"github.com/anacrolix/log"
 	"os"
 
+	"github.com/anacrolix/log"
+
 	"github.com/anacrolix/torrent/metainfo"
 )
 
diff --git a/tests/issue-952/issue-952_test.go b/tests/issue-952/issue-952_test.go
index 8cf15411..82206477 100644
--- a/tests/issue-952/issue-952_test.go
+++ b/tests/issue-952/issue-952_test.go
@@ -1,11 +1,13 @@
 package issue_952
 
 import (
+	"testing"
+
+	qt "github.com/frankban/quicktest"
+
 	"github.com/anacrolix/torrent/bencode"
 	"github.com/anacrolix/torrent/metainfo"
 	"github.com/anacrolix/torrent/types/infohash"
-	qt "github.com/frankban/quicktest"
-	"testing"
 )
 
 type scrapeResponse struct {
diff --git a/tests/peers-bootstrapping/main.go b/tests/peers-bootstrapping/main.go
index 14cda31f..4114c5c3 100644
--- a/tests/peers-bootstrapping/main.go
+++ b/tests/peers-bootstrapping/main.go
@@ -3,19 +3,21 @@ package main
 import (
 	"crypto/rand"
 	"fmt"
+	"io"
+	"net/http"
+	"os"
+	"path/filepath"
+	"time"
+
 	_ "github.com/anacrolix/envpprof"
 	"github.com/anacrolix/log"
 	"github.com/anacrolix/sync"
+	"github.com/dustin/go-humanize"
+	"golang.org/x/exp/slog"
+
 	"github.com/anacrolix/torrent"
 	"github.com/anacrolix/torrent/bencode"
 	"github.com/anacrolix/torrent/metainfo"
-	"github.com/dustin/go-humanize"
-	"golang.org/x/exp/slog"
-	"io"
-	"net/http"
-	"os"
-	"path/filepath"
-	"time"
 )
 
 func assertNil(x any) {
-- 
2.51.0