From 339b445a30242fce00d7191f85535615dd1dc075 Mon Sep 17 00:00:00 2001 From: MS Berends <31037261+msberends@users.noreply.github.com> Date: Thu, 29 Mar 2018 13:12:49 +0200 Subject: [PATCH] Update test-clipboard.R --- tests/testthat/test-clipboard.R | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/testthat/test-clipboard.R b/tests/testthat/test-clipboard.R index 9fa622aa..30123564 100644 --- a/tests/testthat/test-clipboard.R +++ b/tests/testthat/test-clipboard.R @@ -1,11 +1,9 @@ context("clipboard.R") test_that("clipboard works", { - if (Sys.info()['sysname'] == "Windows") { - # why is the <<- needed? Won't work without it... - t1 <<- AMR::antibiotics - clipboard_export(t1, info = FALSE) - t2 <- clipboard_import() - expect_equal(t1, t2) - } + # why is the <<- needed? Won't work without it... + t1 <<- AMR::antibiotics + clipboard_export(t1, info = FALSE) + t2 <- clipboard_import() + expect_equal(t1, t2) })