Skip to content

Commit

Permalink
stash load testing file
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed Aug 6, 2019
1 parent c9cca90 commit d409742
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/testthat/test-load.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
context("load")

test_that("nhd_plus_load works with non-numeric VPU characters", {
skip_on_cran()
skip_on_travis()

y = nhd_plus_load(vpu='03N', component='NHDPlusAttributes',
dsn='PlusFlowlineVAA', approve_all_dl=TRUE)
x = nhd_plus_load(vpu='03S', component='NHDPlusAttributes',
dsn='PlusFlowlineVAA', approve_all_dl=TRUE)

expect_false(identical(x, y))
})

0 comments on commit d409742

Please sign in to comment.