Skip to content

Commit 42ce09d

Browse files
committed
expect_true changed to expect_gt
1 parent 8357e45 commit 42ce09d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test-renderer1-axis-angle-rotate.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ expect_rotate_anchor <- function(info, rotate, anchor){
3434
#more information of getBoundingClientRect() and why value it returns depends on specific browser environment is in the links below
3535
#https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect
3636
#https://stackoverflow.com/questions/40879171/in-javascript-why-does-getboundingclientrect-sometimes-return-floating-point
37-
expect_true(title_box+2.5>= tick_box)
37+
expect_gt(title_box+2.5, tick_box)
3838
}
3939
test_that('no axis rotation is fine', {
4040
map <-

0 commit comments

Comments
 (0)