From 3673068835d41e021709fb1ca862dda7c51c5d63 Mon Sep 17 00:00:00 2001 From: Wayback Archiver Date: Fri, 6 Sep 2024 10:54:56 +0000 Subject: [PATCH] Fix testing --- .github/workflows/testing.yml | 2 +- helper_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 49329f0..29df9a6 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -28,7 +28,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - go: [ "1.17", "1.18", "1.19", "1.20" ] + go: [ "1.18", "1.19", "1.20", "1.21", "1.22", "1.23" ] steps: - name: Set up Go 1.x diff --git a/helper_test.go b/helper_test.go index 562e9d2..3bb6cc0 100644 --- a/helper_test.go +++ b/helper_test.go @@ -79,8 +79,8 @@ func TestMatchURLFallback(t *testing.T) { }{ { name: "Match Path", - text: "foo bar https://example.org/せかい zoo", - expected: "https://webcache.googleusercontent.com/search?q=cache:https://example.org/%E3%81%9B%E3%81%8B%E3%81%84", + text: "foo bar https://go.dev/せかい zoo", + expected: "https://webcache.googleusercontent.com/search?q=cache:https://go.dev/%E3%81%9B%E3%81%8B%E3%81%84", }, { name: "Match and Use Google Cache",