Skip to content

Commit

Permalink
refactoring method name
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespook committed Jan 15, 2015
1 parent a4587b3 commit 5471be9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion signal/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ func main() {
}()

// Block here
s := signal.Loop()
s := signal.Wait()
fmt.Printf("Exit by signal: %s\n", s)
}
4 changes: 2 additions & 2 deletions signal/signal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestSignalHandler(t *testing.T) {
t.Error(err)
}
}()
s := Loop()
s := Wait()
t.Log(s)
}

Expand All @@ -32,6 +32,6 @@ func TestKillHandler(t *testing.T) {
t.Error(err)
}
}()
s := Loop()
s := Wait()
t.Log(s)
}

0 comments on commit 5471be9

Please sign in to comment.