Skip to content

Commit 4e8fb68

Browse files
author
Phuong Quan
committed
reinstate test
1 parent 58cfb7e commit 4e8fb68

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: mantis
22
Type: Package
33
Title: Multiple Time Series Scanner
4-
Version: 0.4.1
4+
Version: 0.4.2
55
Authors@R: c(
66
person(c("T.", "Phuong"), "Quan", email = "phuong.quan@ndm.ox.ac.uk",
77
role = c("aut", "cre"), comment = c(ORCID = "0000-0001-8566-1817")),

tests/testthat/test-report.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,7 @@ test_that("mantis_report() appends timestamp to filename appropriately", {
505505
show_progress = FALSE
506506
)
507507

508-
# temporarily check to see what the filename looks like on different platforms
509-
expect_equal(basename(reportpath), "xmantis_testthatreport.html")
510-
# expect_true(grepl("^mantis_testthatreport_[0-9]{8}_[0-9]{6}\\.html$", basename(reportpath)))
508+
expect_true(grepl("^mantis_testthatreport_[0-9]{8}_[0-9]{6}\\.html$", basename(reportpath)))
511509

512510
# clean up
513511
expect_true(file.remove(reportpath))

0 commit comments

Comments
 (0)