2e4f5c139cb4970960a521b6c9de7b8fa0930301 — boB Rudis 2 years ago 9ac5e43
test assumption fixed
2 files changed, 3 insertions(+), 3 deletions(-)

M DESCRIPTION
M tests/testthat/test-spiderbar.R
M DESCRIPTION => DESCRIPTION +2 -2
@@ 1,8 1,8 @@
 Package: spiderbar
 Type: Package
 Title: Parse and Test Robots Exclusion Protocol Files and Rules
-Version: 0.2.0
-Date: 2017-09-23
+Version: 0.2.1
+Date: 2017-11-17
 Author: Bob Rudis (bob@rud.is) [aut, cre], SEOmoz, Inc [aut]
 Maintainer: Bob Rudis <bob@rud.is>
 Description: The 'Robots Exclusion Protocol' <http://www.robotstxt.org/orig.html> documents

M tests/testthat/test-spiderbar.R => tests/testthat/test-spiderbar.R +1 -1
@@ 14,7 14,7 @@ test_that("parsing and fetch testing and sitemaps work", {
   cd <- crawl_delays(rt2)
 
   expect_that(cd, is_a("data.frame"))
-  expect_equal(cd$crawl_delay, c(0.1, 3.0, -1.0))
+  expect_equal(sort(cd$crawl_delay), sort(c(0.1, 3.0, -1.0)))
 
   imdb <- readLines(system.file("extdata", "imdb-robots.txt", package="spiderbar"))
   rt2 <- robxp(imdb)