Skip to content

Commit d65a5e7

Browse files
committed
Update snapshots
1 parent 64a0403 commit d65a5e7

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

tests/testthat/_snaps/source.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
source_file(test_path("reporters/error-setup.R"), wrap = FALSE)
55
Condition
66
Error:
7-
! In path: "reporters/error-setup.R"
7+
! In path: 'reporters/error-setup.R'.
88
Caused by error in `h()`:
99
! !
1010

@@ -32,7 +32,7 @@
3232
filter_desc(code, "baz")
3333
Condition
3434
Error:
35-
! Failed to find test with specified description
35+
! Failed to find test with specified description.
3636

3737
# preserve srcrefs
3838

@@ -49,5 +49,5 @@
4949
filter_desc(code, "baz")
5050
Condition
5151
Error:
52-
! Found multiple tests with specified description
52+
! Found multiple tests with specified description.
5353

tests/testthat/_snaps/test-compiled-code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Code
44
get_routine("utils", "no_such_routine")
55
Condition
6-
Error:
7-
! failed to locate routine 'no_such_routine' in package 'utils'
6+
Error in `get_routine()`:
7+
! Failed to locate routine `no_such_routine` in package utils.
88

99
# validates inputs
1010

tests/testthat/_snaps/test-files.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Code
44
test_dir(test_path("test_dir"), reporter = "silent")
55
Condition
6-
Error:
7-
! Test failures
6+
Error in `test_files_check()`:
7+
! Test failures.
88

99
# runs all tests and records output
1010

@@ -33,29 +33,29 @@
3333
test_dir(path)
3434
Condition
3535
Error in `test_dir()`:
36-
! No test files found
36+
! No test files found.
3737

3838
# can control if failures generate errors
3939

4040
Code
4141
test_error(stop_on_failure = TRUE)
4242
Condition
43-
Error:
44-
! Test failures
43+
Error in `test_files_check()`:
44+
! Test failures.
4545

4646
# can control if warnings errors
4747

4848
Code
4949
test_warning(stop_on_warning = TRUE)
5050
Condition
51-
Error:
52-
! Tests generated warnings
51+
Error in `test_files_check()`:
52+
! Tests generated warnings.
5353

5454
# complains if file doesn't exist
5555

5656
Code
5757
test_file("DOESNTEXIST")
5858
Condition
59-
Error:
60-
! `path` does not exist
59+
Error in `test_file()`:
60+
! `path` does not exist.
6161

tests/testthat/_snaps/verify-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
verify_output(tempfile(), plot(1:10))
55
Condition
66
Error in `FUN()`:
7-
! Plots are not supported
7+
! Plots are not supported.
88

0 commit comments

Comments
 (0)