Skip to content

Commit 6741892

Browse files
committed
Adapt code output checks to recent changes
1 parent 34232e3 commit 6741892

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/testthat/test_g_expert_cl.R

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ testthat::test_that("coloring_ggplot_call can work with all combinations", {
66

77
testthat::expect_equal(
88
coloring_ggplot_call("ADSL", character(0), character(0), FALSE) %>% deparse(),
9-
"aes(colour = ADSL)"
9+
"ggplot2::aes(colour = ADSL)"
1010
)
1111

1212
testthat::expect_equal(
1313
coloring_ggplot_call("ADSL", "ADSL", character(0), FALSE) %>% deparse(),
14-
"aes(colour = ADSL, fill = ADSL)"
14+
"ggplot2::aes(colour = ADSL, fill = ADSL)"
1515
)
1616
testthat::expect_equal(
1717
coloring_ggplot_call("ADSL", "ADSL", "ADSL", FALSE) %>% deparse(),
18-
"aes(colour = ADSL, fill = ADSL)"
18+
"ggplot2::aes(colour = ADSL, fill = ADSL)"
1919
)
2020
testthat::expect_equal(
2121
coloring_ggplot_call("ADSL", "ADSL", character(0), TRUE) %>% deparse(),
22-
"aes(colour = ADSL, fill = ADSL)"
22+
"ggplot2::aes(colour = ADSL, fill = ADSL)"
2323
)
2424

2525
testthat::expect_equal(
2626
coloring_ggplot_call("ADSL", "ADSL", "ADSL", TRUE) %>% deparse(),
27-
"aes(colour = ADSL, fill = ADSL, size = ADSL)"
27+
"ggplot2::aes(colour = ADSL, fill = ADSL, size = ADSL)"
2828
)
2929
testthat::expect_equal(
3030
coloring_ggplot_call("ADSL", character(0), "ADSL", TRUE) %>% deparse(),
31-
"aes(colour = ADSL, size = ADSL)"
31+
"ggplot2::aes(colour = ADSL, size = ADSL)"
3232
)
3333
})
3434
testthat::test_that("coloring_ggplot_call can work with all combinations without colour_var", {
@@ -39,26 +39,26 @@ testthat::test_that("coloring_ggplot_call can work with all combinations without
3939

4040
testthat::expect_equal(
4141
coloring_ggplot_call(character(0), "ADSL", character(0), FALSE) %>% deparse(),
42-
"aes(fill = ADSL)"
42+
"ggplot2::aes(fill = ADSL)"
4343
)
4444
testthat::expect_equal(
4545
coloring_ggplot_call(character(0), "ADSL", "ADSL", FALSE) %>% deparse(),
46-
"aes(fill = ADSL)"
46+
"ggplot2::aes(fill = ADSL)"
4747
)
4848
testthat::expect_equal(
4949
coloring_ggplot_call(character(0), "ADSL", character(0), TRUE) %>% deparse(),
50-
"aes(fill = ADSL)"
50+
"ggplot2::aes(fill = ADSL)"
5151
)
5252
testthat::expect_equal(
5353
coloring_ggplot_call(character(0), "ADSL", "ADSL", TRUE) %>% deparse(),
54-
"aes(colour = ADSL, fill = ADSL, size = ADSL)"
54+
"ggplot2::aes(colour = ADSL, fill = ADSL, size = ADSL)"
5555
)
5656
})
5757

5858
testthat::test_that("coloring_ggplot_call can work size_var", {
5959
testthat::expect_equal(
6060
coloring_ggplot_call(character(0), character(0), "ADSL", TRUE) %>% deparse(),
61-
"aes(size = ADSL)"
61+
"ggplot2::aes(size = ADSL)"
6262
)
6363
testthat::expect_equal(
6464
coloring_ggplot_call(character(0), character(0), character(0), TRUE),

0 commit comments

Comments
 (0)