Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Mar 21, 2024
1 parent 2d20f07 commit 6a36082
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.21

- uses: snapcore/action-build@v1
id: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.21

- name: Test
run: go test ./...
Expand Down
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func TestCollapseRecursive(t *testing.T) {
}

func TestCollapseRecursiveWithSizes(t *testing.T) {
theme.showSizes = true
defer func() { theme.showSizes = true }()
theme.ShowSizes = true
defer func() { theme.ShowSizes = true }()

tm := prepare(t)

Expand Down

0 comments on commit 6a36082

Please sign in to comment.