tests/testthat/test-now_ms.R

test_that("now_ms works", {
  now_str <- now_ms()
  expect_true(grepl("....-..-.. ..:..:..\\... .+", now_str))
})

Try the toscutil package in your browser

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

toscutil documentation built on June 28, 2024, 5:06 p.m.