Skip to content

Commit

Permalink
fix one broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesMcBain committed Dec 30, 2020
1 parent e263afd commit 15bdcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_rstudio.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ test_that("readPreference() returns an integer", {
skip_on_travis()
skip_if_not(is_interactive)
skip_if_not(rstudioapi::isAvailable())
expect_type(rstudioapi::readPreference('num_spaces_for_tab', 4), type="integer")
expect_equal(rstudioapi::readPreference('num_spaces_for_tab', 4), 4)

})

0 comments on commit 15bdcf7

Please sign in to comment.