Skip to content

Commit

Permalink
changed expect_equal to expect_true
Browse files Browse the repository at this point in the history
  • Loading branch information
renewiegandt committed Jul 13, 2018
1 parent 02c5163 commit 6111a8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/testthat/test_mqparser.R
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "" ),
Expand Down

0 comments on commit 6111a8a

Please sign in to comment.