Skip to content

Commit

Permalink
fix typo that caused test failure in dht_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Sep 18, 2014
1 parent a2f9099 commit d326fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing/dht/dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func TestFindPeer(t *testing.T) {
u.Debug = false

addrs, peers, dhts := setupDHTS(4, t)
go func() {
defer func() {
for i := 0; i < 4; i++ {
dhts[i].Halt()
}
Expand Down

3 comments on commit d326fc6

@btc
Copy link
Contributor

@btc btc commented on d326fc6 Sep 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kinda scary that these are interchangeable. the behaviors are so different. good catch!

🔍

@whyrusleeping
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, was kindof a panic moment, i went through and checked every other instance of "^go " in the codebase to make sure it was all good

@jbenet
Copy link
Member

@jbenet jbenet commented on d326fc6 Sep 19, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow great catch here

Please sign in to comment.