diff options
Diffstat (limited to 'fix-tests.patch')
-rw-r--r-- | fix-tests.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/fix-tests.patch b/fix-tests.patch new file mode 100644 index 000000000000..68e10224632f --- /dev/null +++ b/fix-tests.patch @@ -0,0 +1,28 @@ +diff --git a/cpp11/tests/testthat/_snaps/register.md b/cpp11/tests/testthat/_snaps/register.md +index 0e4b143..75125c4 100644 +--- a/cpp11/tests/testthat/_snaps/register.md ++++ b/cpp11/tests/testthat/_snaps/register.md +@@ -2,7 +2,7 @@ + + Code + cpp_register(p, quiet = FALSE) +- Message <cliMessage> ++ Message + i 1 functions decorated with [[cpp11::register]] + v generated file 'cpp11.R' + v generated file 'cpp11.cpp' +diff --git a/cpp11/tests/testthat/_snaps/source.md b/cpp11/tests/testthat/_snaps/source.md +index 1593503..ad9152a 100644 +--- a/cpp11/tests/testthat/_snaps/source.md ++++ b/cpp11/tests/testthat/_snaps/source.md +@@ -2,7 +2,8 @@ + + Code + cpp_source(i_do_not_exist) +- Error <simpleError> +- Can't find `file` at this path: ++ Condition ++ Error: ++ ! Can't find `file` at this path: + {NON_EXISTENT_FILEPATH} + |