Skip to content

Commit

Permalink
fix selector.aes test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Oct 19, 2015
1 parent 72d020e commit bc076ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/testthat/test-renderer1-variable-value.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ test_that("selector.aes errors when no matching variable for value", {
"clickSelects.value",
"clickSelects2.value")
for(a.vec in a.list){
arg.list <- as.list(paste0("var", seq_along(a.vec)))
names(arg.list) <- a.vec
a <- do.call(aes_string, arg.list)
expect_error({
selector.aes(a.vec)
selector.aes(a)
}, ".variable or .value aes not found")
}
})
Expand Down

0 comments on commit bc076ed

Please sign in to comment.