Skip to content

Commit

Permalink
test removal of names
Browse files Browse the repository at this point in the history
- Breaking change: If the `names` argument is unset, `SQL()` strips the names from the output.
  • Loading branch information
krlmlr committed Jan 27, 2018
1 parent 95932df commit 75778a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-quote.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ test_that("identifier", {
test_that("SQL names", {
expect_null(names(SQL(letters)))
expect_equal(names(SQL(letters, names = LETTERS)), LETTERS)
expect_null(names(SQL(setNames(letters, LETTERS))))
})

0 comments on commit 75778a9

Please sign in to comment.