tests/testthat/test-utils.R

test_that("NULL is blank", {
  expect_true(is_blank(NULL))
})

test_that("empty string is blank", {
  expect_true(is_blank(""))
})

test_that("Non-empty string is not blank", {
  expect_false(is_blank("foo"))
})

Try the aws.signature package in your browser

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

aws.signature documentation built on July 1, 2020, 10:28 p.m.