test_that("the report prints the numbers of the analysis", {
fit <- design_anova(maize_nitrogen, "Yield_t_ha", "Nitrogen_kg_ha", block = "Block")
h <- design_report(fit, figures = FALSE, units = "t/ha")
expect_true(grepl(">437.267<", h, fixed = TRUE))
expect_true(grepl("Minimum significant difference = 0.283", h, fixed = TRUE))
expect_true(grepl("randomised complete block design", h, fixed = TRUE))
expect_true(grepl("A", h, fixed = TRUE))
expect_false(grepl("&[a-z]+;", h))
expect_false(grepl("