Skip to content

Commit 9ec17b5

Browse files
Fix the code style in the tests of the crawler package
1 parent 2ff6348 commit 9ec17b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

handle_links_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ func TestHandleLinksConcurrently(test *testing.T) {
122122
waiter := data.args.dependencies.Waiter
123123
synchronousWaiter := syncutils.MultiWaitGroup{waiter, new(sync.WaitGroup)}
124124
synchronousWaiter.Add(len(data.args.links))
125-
126125
data.args.dependencies.Waiter = synchronousWaiter
127126

128127
HandleLinksConcurrently(
@@ -236,7 +235,6 @@ func TestHandleLinks(test *testing.T) {
236235
waiter := data.args.dependencies.Waiter
237236
synchronousWaiter := syncutils.MultiWaitGroup{waiter, new(sync.WaitGroup)}
238237
synchronousWaiter.Add(len(data.args.links))
239-
240238
data.args.dependencies.Waiter = synchronousWaiter
241239

242240
go HandleLinks(
@@ -245,7 +243,6 @@ func TestHandleLinks(test *testing.T) {
245243
data.args.links,
246244
data.args.dependencies,
247245
)
248-
249246
synchronousWaiter.Wait()
250247

251248
mock.AssertExpectationsForObjects(

0 commit comments

Comments
 (0)