Skip to content

Commit 265296c

Browse files
committed
feat: more expressive test
1 parent 5847940 commit 265296c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: pw
22
Title: Test your 'golem' Apps with 'Playwright'
3-
Version: 0.0.0.9018
3+
Version: 0.0.0.9019
44
Authors@R:
55
person("Colin", "Fay", , "contact@colinfay.me", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0001-7343-1846"))

inst/test-playwright.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ test_that("playwright tests are working", {
1313
)
1414
})
1515
# Exit with code 0 means that the tests passed
16-
expect_equal(
17-
res,
18-
0
16+
expect(
17+
res == 0,
18+
"The playwright tests did not pass"
1919
)
2020
})

0 commit comments

Comments
 (0)