Skip to content

Commit

Permalink
check internals
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Dec 14, 2023
1 parent a4bacc0 commit b73fa9e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[codespell]
skip = *.pb.*,*.sum,go.mod,./internal
skip = *.pb.*,*.sum,go.mod
quiet-level = 2
ignore-words = .github/workflows/spell-check-ignore.txt
3 changes: 2 additions & 1 deletion .github/workflows/spell-check-ignore.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
crate
crate
pres
4 changes: 2 additions & 2 deletions internal/blockdb/tui/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ func TestModel_Update(t *testing.T) {

update(runeKey('c'))

_, primative := model.mainContentView().GetFrontPage()
_, primitive := model.mainContentView().GetFrontPage()
// TODO (nix - 6/22/22) Can't get text from a tview.Modal. We could use a tview.TextView but it does not render
// properly with the nested flex views.
require.IsType(t, &tview.Modal{}, primative.(*tview.Flex).GetItem(1).(*tview.Flex).GetItem(1))
require.IsType(t, &tview.Modal{}, primitive.(*tview.Flex).GetItem(1).(*tview.Flex).GetItem(1))
})
}
4 changes: 2 additions & 2 deletions internal/dockerutil/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type DockerSetupTestingT interface {

// CleanupLabel is a docker label key targeted by DockerSetup when it cleans up docker resources.
//
// "interchaintest" is perhaps a better name. However, for backwards compatability we preserve the original name of "ibc-test"
// "interchaintest" is perhaps a better name. However, for backwards compatibility we preserve the original name of "ibc-test"
// with the hyphen. Otherwise, we run the risk of causing "container already exists" errors because DockerSetup
// is unable to clean old resources from docker engine.
const CleanupLabel = "ibc-test"
Expand Down Expand Up @@ -93,7 +93,7 @@ func dockerCleanup(t DockerSetupTestingT, cli *client.Client) func() {
return func() {
showContainerLogs := os.Getenv("SHOW_CONTAINER_LOGS")
containerLogTail := os.Getenv("CONTAINER_LOG_TAIL")
keepContainers := os.Getenv("KEEP_CONTAINERS") != ""
keepContainers := os.Getenv("KEEP_CONTAINTERS") != ""

ctx := context.TODO()
cli.NegotiateAPIVersion(ctx)
Expand Down

0 comments on commit b73fa9e

Please sign in to comment.