Skip to content

Commit

Permalink
enable misspell linter
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
  • Loading branch information
mmorel-35 committed May 9, 2023
1 parent 5c76b67 commit 109907f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ linters:
enable:
- gci
- gofmt
- misspell


linters-settings:
gci:
Expand All @@ -11,4 +13,4 @@ linters-settings:
- prefix(github.com/testcontainters)

run:
timeout: 3m
timeout: 3m
2 changes: 1 addition & 1 deletion docker_mounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type DockerBindMountSource struct {
*mount.BindOptions

// HostPath is the path mounted into the container
// the same host path might be mounted to multiple locations withing a single container
// the same host path might be mounted to multiple locations within a single container
HostPath string
}

Expand Down
2 changes: 1 addition & 1 deletion mounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type ContainerMountSource interface {
// Optionally mount.BindOptions might be added for advanced scenarios
type GenericBindMountSource struct {
// HostPath is the path mounted into the container
// the same host path might be mounted to multiple locations withing a single container
// the same host path might be mounted to multiple locations within a single container
HostPath string
}

Expand Down
2 changes: 1 addition & 1 deletion wait/health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func TestWaitForHealthSucceeds(t *testing.T) {
assert.Nil(t, err)
}

// TestWaitForHealthWithNil checks that an initial `nil` Health will not casue a panic,
// TestWaitForHealthWithNil checks that an initial `nil` Health will not cause a panic,
// and if the container eventually becomes healthy, the HealthStrategy will succeed.
func TestWaitForHealthWithNil(t *testing.T) {
target := &healthStrategyTarget{
Expand Down

0 comments on commit 109907f

Please sign in to comment.