Skip to content

Commit bb7b680

Browse files
committed
Update website URLs based on new results
1 parent 37015ce commit bb7b680

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-search-functions.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ test_that("Check link generation - rseek", {
7272

7373
expect_identical(
7474
search_rseek("toad"),
75-
"https://rseek.org/?q=toad%20"
75+
"https://rseek.org/?q=toad"
7676
)
7777

7878
expect_identical(
@@ -174,7 +174,7 @@ test_that("Check link generation - stackoverflow", {
174174

175175
expect_identical(
176176
search_stackoverflow("toad"),
177-
"https://stackoverflow.com/search?q=toad%20[r]"
177+
"https://stackoverflow.com/search?q=toad%20%5Br%5D"
178178
)
179179

180180
expect_identical(
@@ -188,7 +188,7 @@ test_that("Check link generation - github", {
188188

189189
expect_identical(
190190
search_github("toad"),
191-
"https://github.com/search?q=toad%20language:r%20type:issue&type=Issues"
191+
"https://github.com/search?q=toad%20language%3Ar%20type%3Aissue&type=Issues"
192192
)
193193

194194
expect_identical(
@@ -202,7 +202,7 @@ test_that("Check link generation - bitbucket", {
202202

203203
expect_identical(
204204
search_bitbucket("toad"),
205-
"https://bitbucket.com/search?q=toad%20lang:r"
205+
"https://bitbucket.com/search?q=toad%20lang%3Ar"
206206
)
207207

208208
expect_identical(

0 commit comments

Comments
 (0)