From 6111a8ab3654455a236f0abf65933d8f11228765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Wiegandt?= Date: Fri, 13 Jul 2018 05:16:41 -0400 Subject: [PATCH] changed expect_equal to expect_true --- tests/testthat/test_mqparser.R | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test_mqparser.R b/tests/testthat/test_mqparser.R index a19089b..e36f613 100644 --- a/tests/testthat/test_mqparser.R +++ b/tests/testthat/test_mqparser.R @@ -15,10 +15,9 @@ testthat::test_that("mq_parser",{ summary_in = system.file("/tests/testthat", "summary_test_2.txt", package = "wilson"), outfile = "./out", outfile_reduced = "./outres" ), "wrong format on summary file: column \'Experiment\' misssing") - expect_equal(wilson::parse_MaxQuant(proteinGroups_in = system.file("/tests/testthat", "proteinGroups_test.txt", package = "wilson"), + expect_true(wilson::parse_MaxQuant(proteinGroups_in = system.file("/tests/testthat", "proteinGroups_test.txt", package = "wilson"), summary_in = system.file("/tests/testthat", "summary_test.txt", package = "wilson"), - outfile = "./out", outfile_reduced = "./outres", config = system.file("/tests/testthat", "success_config.json", package = "wilson")), - TRUE) + outfile = "./out", outfile_reduced = "./outres", config = system.file("/tests/testthat", "success_config.json", package = "wilson"))) expect_error(wilson::parse_MaxQuant(proteinGroups_in = system.file("/tests/testthat", "proteinGroups_test.txt", package = "wilson"), summary_in = system.file("/tests/testthat", "summary_test.txt", package = "wilson"), outfile = "./out", outfile_reduced = "./outres", config = "" ),