diff --git a/tests/testthat/_snaps/form.md b/tests/testthat/_snaps/form.md index 9e52aec..0f9a7d9 100644 --- a/tests/testthat/_snaps/form.md +++ b/tests/testthat/_snaps/form.md @@ -118,20 +118,20 @@ form$enctype <- "multipart" show_response(html_form_submit(form)) Output - POST multipart/form-data; boundary=--- + POST multipart/form-data; boundary=---{divider} Query string: - --- + ---{divider} Content-Disposition: form-data; name="x" 1 - --- + ---{divider} Content-Disposition: form-data; name="x" 2 - --- + ---{divider} Content-Disposition: form-data; name="y" 3 - ----- + ---{divider} diff --git a/tests/testthat/test-form.R b/tests/testthat/test-form.R index cb8bdfb..058b677 100644 --- a/tests/testthat/test-form.R +++ b/tests/testthat/test-form.R @@ -208,5 +208,5 @@ test_that("can submit using three primary techniques", { form$enctype <- "multipart" show_response(html_form_submit(form)) - }) + }, transform = function(x) gsub("---.+$", "---{divider}", x)) })