diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index ef72022c..e71256bc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,7 +17,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.21' + go-version: '1.22' - name: Build run: go build - name: Test diff --git a/go.mod b/go.mod index 9babd4e6..d68d257e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/abahmed/kwatch -go 1.21 +go 1.22 require ( github.com/bwmarrin/discordgo v0.27.1 diff --git a/util/util_test.go b/util/util_test.go index 911c83b2..1e62b5af 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -43,11 +43,11 @@ func TestJsonEscape(t *testing.T) { }, { Input: "te\bst", - Output: "te\\u0008st", + Output: "te\\bst", }, { Input: "\b", - Output: "\\u0008", + Output: "\\b", }, { Input: "\"",