# Generated by fusen: do not edit by hand
test_that("check_id works", {
t_ <- tibble::tibble
expect_type(check_id(t_(id = 1), t_(id = 1)), type = "list")
expect_error(check_id(t_(ids = 1), t_(id = 1)))
expect_error(check_id(t_(id = 1), t_(ids = 1)))
expect_error(check_id(t_(ids = 1), t_(ids = 1)))
expect_type(check_id(t_(id = 1:2), t_(id = 1:2)), type = "list")
expect_error(check_id(t_(id = c(1,2)), t_(id = c(1,1))))
expect_error(check_id(t_(id = c(1,1)), t_(id = c(1,2))))
expect_error(check_id(t_(id = c(1,1)), t_(id = c(1,1))))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.