Skip to content

Commit

Permalink
✅ ci: fix ci test error and add test on go1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Mar 24, 2024
1 parent 5f16ce7 commit 9203a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
go_version: [1.19, '1.20', 1.21]
go_version: [1.19, '1.20', 1.21, 1.22]

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion testutil/assert/asserts_test.go
Expand Up @@ -106,7 +106,7 @@ func TestCommon_fail(t *testing.T) {
str := tc.First()
assert.StrContains(t, str, "TestCommon_fail")
assert.StrContains(t, str, "goutil/testutil/assert/asserts_test.go:")
assert.StrContains(t, str, "Expected nil, but got: 1")
assert.StrContains(t, str, "Expected nil, but got:")
tc.Reset()

assert.NotNil(tc, nil)
Expand Down

0 comments on commit 9203a60

Please sign in to comment.