tests/testthat/test-prefixspace.R

context("Utility prefix function")

test_that(desc = "String is prefixed with space",
          code = expect_match(
              object = extraInserts:::prefixSpace("a"),
              regexp = "\\sa"
          ))
konradedgar/extraInserts documentation built on Feb. 20, 2023, 3:39 a.m.