Skip to content

Commit 2fee6ca

Browse files
authored
Merge pull request #1064 from stan-dev/fix-test-errors
Remove extra parameter breaking tests
2 parents 27305fa + b1c78b4 commit 2fee6ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/testthat/test-fit-gq.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ test_that("print() method works after gq", {
9090
# make sure the row order is correct
9191
out <- capture.output(fit_gq$print(c("y_rep[1]", "sum_y", "y_rep[3]")))
9292
expect_length(out, 4)
93-
expect_match(out[1], " variable", out[1])
93+
expect_match(out[1], " variable")
9494
expect_match(out[2], " y_rep[1]", fixed = TRUE)
9595
expect_match(out[3], " sum_y")
9696
expect_match(out[4], " y_rep[3]", fixed = TRUE)

tests/testthat/test-fit-mcmc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ test_that("print() method works after mcmc", {
151151
# make sure the row order is correct
152152
out <- capture.output(fit$print(c("theta[1]", "tau", "mu", "theta_raw[3]")))
153153
expect_length(out, 5)
154-
expect_match(out[1], " variable", out[1])
154+
expect_match(out[1], " variable")
155155
expect_match(out[2], " theta[1]", fixed = TRUE)
156156
expect_match(out[3], " tau")
157157
expect_match(out[4], " mu")

0 commit comments

Comments
 (0)