Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ func (app *App) Done() <-chan os.Signal {
// Wait returns a channel of [ShutdownSignal] to block on after starting the
// application and function, similar to [App.Done], but with a minor difference:
// if the app was shut down via [Shutdowner.Shutdown],
// the exit code (if provied via [ExitCode]) will be available
// the exit code (if provided via [ExitCode]) will be available
// in the [ShutdownSignal] struct.
// Otherwise, the signal that was received will be set.
func (app *App) Wait() <-chan ShutdownSignal {
Expand Down
2 changes: 1 addition & 1 deletion app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ func TestPrivateProvideWithDecorators(t *testing.T) {
}

func TestWithLoggerErrorUseDefault(t *testing.T) {
// This test cannot be run in paralllel with the others because
// This test cannot be run in parallel with the others because
// it hijacks stderr.

// Temporarily hijack stderr and restore it after this test so
Expand Down
2 changes: 1 addition & 1 deletion internal/fxclock/clock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func TestMock_Sleep(t *testing.T) {
// ok
}

// Avance to the next millisecond, the Sleep should return.
// Advance to the next millisecond, the Sleep should return.
clock.Add(1 * time.Millisecond)
select {
case <-ch:
Expand Down
4 changes: 2 additions & 2 deletions internal/lifecycle/lifecycle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ func TestLifecycleStart(t *testing.T) {
return nil
},
})
// this event's starter fails, so the stopper shouldnt run
// this event's starter fails, so the stopper shouldn't run
l.Append(Hook{
OnStart: func(context.Context) error {
starterCount++
return err
},
OnStop: func(context.Context) error {
t.Error("this stopper shouldnt run, since the starter in this event failed")
t.Error("this stopper shouldn't run, since the starter in this event failed")
return nil
},
})
Expand Down