Skip to content
Snippets Groups Projects
Commit 7b0bc3c7 authored by arsenij.ustjanzew's avatar arsenij.ustjanzew Committed by jens.preussner
Browse files

Added more ref hashes for different platforms

parent cc80528e
Branches
No related tags found
No related merge requests found
......@@ -11,9 +11,9 @@ test_that("Assembling dashboard is correct",{
new_rmd <- rmd[-31]
writeLines(new_rmd, dashboard@file)
test_hash <- digest::digest(file = dashboard@file, serialize = F, seed = 100)
ref_hash <- digest::digest(file = "input-data/i2dashboard.Rmd", serialize = F, seed = 100)
expect_equal(test_hash, ref_hash)
expect_true(TRUE, regexp = stringi::stri_detect_regex(ref_hash, "(1055ed29147446902eb224e7c17c52af|442bef06307bb6dea490435230f7e22e|11a5a0938212656d1fbb02496fb7cfa0)"))
expect_warning(assemble(dashboard, pages = "page1"), "i2dashboard dashboard does not contain a page named 'page1'")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment