소스 검색

catch one message in tests

tags/v0.4.1
Garrick Aden-Buie 4 년 전
부모
커밋
f1eac8759c
No known key found for this signature in database
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      tests/testthat/test-css.R

+ 1
- 1
tests/testthat/test-css.R 파일 보기

@@ -71,7 +71,7 @@ describe("find and choose xaringan themer files", {
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")
expect_message(expect_equal(read_css_vars()$text_color, "#18273F"))
})

it("throws error if no xaringan themer css files", {

Loading…
취소
저장