Skip to content

Commit

Permalink
update test (for is_slides)
Browse files Browse the repository at this point in the history
  • Loading branch information
JBGruber committed Feb 10, 2024
1 parent f629728 commit f3f3834
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/api_research.r
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' Research API]'}}{\strong{[Works on: Research API]}}
#'
#' This is the version of \link{tt_search} that explicitly uses Research API.
#' Use \link{tt_search_hidden} for the unoffcial API version.
#' Use \link{tt_search_hidden} for the unofficial API version.
#'
#' @param query A query string or object (see \link{query})
#' @param start_date,end_date A start and end date to narrow the search
Expand Down
1 change: 0 additions & 1 deletion inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ com
cookiefile
json
rstats
secUid
secuid
tidyverse
tiktok
Expand Down
2 changes: 1 addition & 1 deletion man/tt_search_api.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat/test-tt_videos.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ test_that("parse", {
)
expect_equal(
dim(parse_video('{"__DEFAULT_SCOPE__":{"webapp.video-detail":{"itemInfo":{"itemStruct":{"test":1}}}}}', video_id = 1L)),
c(1L, 19L)
c(1L, 20L)
)
})

0 comments on commit f3f3834

Please sign in to comment.