tests/testthat/test-utils.R

test_that("is_uri() works", {
    expect_true(is_uri('37i9dQZF1DX5GJ0BQvLMjM'))
    expect_false(is_uri("a"))
})

Try the spotifyr package in your browser

Any scripts or data that you put into this service are public.

spotifyr documentation built on Dec. 28, 2022, 2:08 a.m.