Make test for consumed time more tolerant
Change-Id: Ic5086111cfa7cfd28acbb3cc2d88639dd7c8f192
diff --git a/tests/testthat/test-corpusQuery.R b/tests/testthat/test-corpusQuery.R
index 65cb870..f7ed2e0 100644
--- a/tests/testthat/test-corpusQuery.R
+++ b/tests/testthat/test-corpusQuery.R
@@ -23,7 +23,7 @@
kco@indexRevision <- NULL
frequencyQuery(kco, "Ameisenplage", "pubDate since 2014")
kco@indexRevision <- as.character(Sys.time())
- expect_output(frequencyQuery(kco, "Ameisenplage", "pubDate since 2014"), "took [0-9.]+ s")
+ expect_output(frequencyQuery(kco, "Ameisenplage", "pubDate since 2014"), "took ")
expect_output(frequencyQuery(kco, "Ameisenplage", "pubDate since 2014"), "cached")
})