Skip to content

Commit

Permalink
fixed the fetch tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwinter committed Apr 21, 2016
1 parent 4824892 commit 33bc48a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testthat/test_fetch.r
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ pop_ids = c("307082412", "307075396", "307075338", "307075274")
coi <- entrez_fetch(db = "popset", id = pop_ids[1],
rettype = "fasta")
xml_rec <- entrez_fetch(db = "popset", id=pop_ids[1], rettype="xml", parsed=TRUE)

raw_rec <- entrez_fetch(db = "popset", id=pop_ids[1], rettype="xml")

test_that("httr does no warn about inferred encoding", {
expect_message(
raw_rec <- entrez_fetch(db = "popset", id=pop_ids[1], rettype="xml"), NA
)
expect_message( entrez_fetch(db = "popset", id=pop_ids[1], rettype="uilist"), NA)
})


Expand Down

0 comments on commit 33bc48a

Please sign in to comment.