Skip to content

Commit

Permalink
rename to same function as in issue tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
douwe committed Apr 10, 2024
1 parent 381b49a commit b5b5881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-parsers_basic.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ test_that("'zero_or_one' works in standard cases", {
})

test_that("'zero_or_one' is greedy", {
ABBlock <- function() {zero_or_one(literal("A")) %then% literal("B")}
expect_equal(one_or_more(ABBlock())(c("A","B","B")), list(L=list("A","B","B"), R=character(0)))
ABblock <- function() {zero_or_one(literal("A")) %then% literal("B")}
expect_equal(one_or_more(ABblock())(c("A","B","B")), list(L=list("A","B","B"), R=character(0)))
})

test_that("'match_n' works in standard cases", {
Expand Down

0 comments on commit b5b5881

Please sign in to comment.