Skip to content

Commit

Permalink
Implement the test proposed and written by @jayhesselberth
Browse files Browse the repository at this point in the history
Details at #2728 (comment).
  • Loading branch information
lcolladotor committed Jul 22, 2024
1 parent 3a92bc7 commit d71653d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testthat/test-usage.R
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ test_that("can parse dots", {
expect_equal(usage$name, "f")
})

test_that("usage2text can parse symbols (#2727)", {
expect_no_error(usage2text("viridisLite::viridis(21)"))
})

# short_name --------------------------------------------------------------

test_that("infix functions left as", {
Expand Down

0 comments on commit d71653d

Please sign in to comment.