소스 검색

Fix function name in choose_text_color test

pull/18/merge
Garrick Aden-Buie 7 년 전
부모
커밋
6e19e7f83f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      tests/testthat/test-choose_text_color.R

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

@@ -2,5 +2,5 @@ context("test-set_text_color")

test_that("correct color selection", {
colors <- c("#FFFFFF", scales::brewer_pal("seq", "Set1")(4), "#000000")
expect_equal(set_text_color(colors), c("#000000", rep("#FFFFFF", 5)))
expect_equal(choose_text_color(colors), c("#000000", rep("#FFFFFF", 5)))
})

Loading…
취소
저장