https://github.com/ctlab/phantasus
Tip revision: d248b1ea35177f41dff757e3899ba10aec3a004e authored by J Wokaty on 25 April 2023, 15:00:13 UTC
bump x.y.z version to even y prior to creation of RELEASE_3_17 branch
bump x.y.z version to even y prior to creation of RELEASE_3_17 branch
Tip revision: d248b1e
teststatic.R
context("Static files")
test_that("versions match", {
versionStr <- readLines(system.file("www/phantasus.js/RELEASE.js", package="phantasus"))[1]
versionStr <- gsub("^.*'(.*)';$", "\\1", versionStr)
expect_equal(versionStr, fromJSON(phantasusVersion()))
})