Przeglądaj źródła

Fix tests for {testthat} 3.1.0

tags/v0.4.1
Garrick Aden-Buie 4 lat temu
rodzic
commit
046187ae84
Nie znaleziono w bazie danych klucza dla tego podpisu
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      tests/testthat/test-css.R

+ 1
- 1
tests/testthat/test-css.R Wyświetl plik

@@ -68,7 +68,7 @@ describe("find and choose xaringan themer files", {
it("chooses the first from the list if ambiguous", {
file.rename("xaringan-themer.css", "xaringan.css")
candidates <- find_xaringan_themer_css()
picked <- expect_message(choose_xaringan_themer_css(candidates))
expect_message(picked <- choose_xaringan_themer_css(candidates))
expect_equal(candidates, c("./mono_light.css", "./xaringan.css"))
expect_equal(picked, "./mono_light.css")
expect_equal(read_css_vars()$text_color, "#18273F")

Ładowanie…
Anuluj
Zapisz