Skip to content

Commit

Permalink
s/Testsupervisor/TestSupervisor/g
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Feb 21, 2017
1 parent 27cac77 commit 65e296e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions supervisor/supervisor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func init() {
}
}

func Testsupervisor(t *testing.T) {
func TestSupervisor(t *testing.T) {
sv := &supervisor{
prog: stubAgent,
argv: []string{"dummy"},
Expand All @@ -48,7 +48,7 @@ func Testsupervisor(t *testing.T) {
}
}

func Testsupervisor_reload(t *testing.T) {
func TestSupervisor_reload(t *testing.T) {
sv := &supervisor{
prog: stubAgent,
argv: []string{"dummy"},
Expand Down Expand Up @@ -88,7 +88,7 @@ func Testsupervisor_reload(t *testing.T) {
}
}

func Testsupervisor_reloadFail(t *testing.T) {
func TestSupervisor_reloadFail(t *testing.T) {
sv := &supervisor{
prog: stubAgent,
argv: []string{"failed"},
Expand All @@ -114,7 +114,7 @@ func Testsupervisor_reloadFail(t *testing.T) {
<-done
}

func Testsupervisor_launchFailed(t *testing.T) {
func TestSupervisor_launchFailed(t *testing.T) {
sv := &supervisor{
prog: stubAgent,
argv: []string{"launch failure"},
Expand All @@ -138,7 +138,7 @@ func Testsupervisor_launchFailed(t *testing.T) {
}
}

func Testsupervisor_crashRecovery(t *testing.T) {
func TestSupervisor_crashRecovery(t *testing.T) {
origSpawnInterval := spawnInterval
spawnInterval = 300 * time.Millisecond
defer func() { spawnInterval = origSpawnInterval }()
Expand Down

0 comments on commit 65e296e

Please sign in to comment.