Skip to content

Commit

Permalink
Let linkout source have spaces in elink tests
Browse files Browse the repository at this point in the history
(Prior to this commit the elink tests would incorrectly fail because the
name of the link source had multiple words).
  • Loading branch information
dwinter committed Feb 22, 2017
1 parent 1d7812c commit dd32d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_link.r
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test_that("Elink sub-elements can be acessed and printed", {
expect_output(print(all_the_commands[[3]][[1]]),
"elink result with information from \\d+ databases")
expect_output(print(all_the_commands[[8]]$linkouts[[1]]),
"Linkout from [A-Za-z]+\\s+\\$Url")
"Linkout from [ A-Za-z]+\\s+\\$Url")
})


Expand Down

0 comments on commit dd32d36

Please sign in to comment.