@@ -20,31 +20,31 @@ testthat::test_that("bivariate_ggplot_call with numerics", {
2020
2121testthat :: test_that(" bivariate_ggplot_call with factor, char, logical" , {
2222 error_message <- " Categorical variables 'x' and 'y' are currently not supported."
23- testthat :: expect_match (
23+ testthat :: expect_error (
2424 bivariate_ggplot_call(" factor" , " factor" ) %> % deparse(width.cutoff = 300 ),
2525 error_message
2626 )
27- testthat :: expect_match (
27+ testthat :: expect_error (
2828 bivariate_ggplot_call(" logical" , " factor" ) %> % deparse(width.cutoff = 300 ),
2929 error_message
3030 )
31- testthat :: expect_match (
31+ testthat :: expect_error (
3232 bivariate_ggplot_call(" character" , " factor" ) %> % deparse(width.cutoff = 300 ),
3333 error_message
3434 )
35- testthat :: expect_match (
35+ testthat :: expect_error (
3636 bivariate_ggplot_call(" logical" , " character" ) %> % deparse(width.cutoff = 300 ),
3737 error_message
3838 )
39- testthat :: expect_match (
39+ testthat :: expect_error (
4040 bivariate_ggplot_call(" character" , " logical" ) %> % deparse(width.cutoff = 300 ),
4141 error_message
4242 )
43- testthat :: expect_match (
43+ testthat :: expect_error (
4444 bivariate_ggplot_call(" logical" , " logical" ) %> % deparse(width.cutoff = 300 ),
4545 error_message
4646 )
47- testthat :: expect_match (
47+ testthat :: expect_error (
4848 bivariate_ggplot_call(" character" , " character" ) %> % deparse(width.cutoff = 300 ),
4949 error_message
5050 )
0 commit comments