Skip to content

Commit 80a7536

Browse files
committed
Deploying to gh-pages from @ bec8f61 🚀
1 parent 157b30b commit 80a7536

127 files changed

Lines changed: 136 additions & 136 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CODE_OF_CONDUCT.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/challenging-tests.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/custom-expectation.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/mocking.html

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/mocking.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function to mock.
291291
``` r
292292
unix_time <- function() unclass(Sys.time())
293293
unix_time()
294-
#> [1] 1764133588
294+
#> [1] 1764133761
295295
```
296296

297297
Now I’m going to create a function factory that makes it easy to compute
@@ -308,7 +308,7 @@ elapsed <- function() {
308308
timer <- elapsed()
309309
Sys.sleep(0.5)
310310
timer()
311-
#> [1] 0.5019891
311+
#> [1] 0.5017748
312312
```
313313

314314
Imagine trying to test this function without mocking! You’d probably

articles/parallel.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/skipping.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/snapshotting.html

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/snapshotting.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ test_that("generates actionable error message", {
386386
#> safe_write_lines(letters, path)
387387
#> Condition
388388
#> Error in `safe_write_lines()`:
389-
#> ! '/tmp/RtmpM2cA85/file263835434ce7' already exists.
389+
#> ! '/tmp/RtmpHDBRFh/file2681711c2bbc' already exists.
390390
#> i Set `overwrite = TRUE` to overwrite
391391
#> Test passed with 1 success 🎊.
392392
```
@@ -402,8 +402,8 @@ test_that("generates actionable error message", {
402402
#> safe_write_lines(letters, path)
403403
#> Condition
404404
#> Error in `safe_write_lines()`:
405-
#> - ! '/tmp/RtmpM2cA85/file263835434ce7' already exists.
406-
#> + ! '/tmp/RtmpM2cA85/file263814e8d71a' already exists.
405+
#> - ! '/tmp/RtmpHDBRFh/file2681711c2bbc' already exists.
406+
#> + ! '/tmp/RtmpHDBRFh/file268141a897f5' already exists.
407407
#> i Set `overwrite = TRUE` to overwrite
408408
#> * Run `testthat::snapshot_accept("snapshotting.Rmd")` to accept the change.
409409
#> * Run `testthat::snapshot_review("snapshotting.Rmd")` to review the change.

0 commit comments

Comments
 (0)