Skip to content

Commit b4c3165

Browse files
committed
Revert "operation -> adjustment (tidymodels/tailor#19)"
This reverts commit e329395.
1 parent efb8a2b commit b4c3165

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/testthat/_snaps/printing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
Message
200200
201201
-- tailor ----------------------------------------------------------------------
202-
A regression postprocessor with 0 adjustments.
202+
A regression postprocessor with 0 operations.
203203
Output
204204
NA
205205
NA

tests/testthat/test-post-action-tailor.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ test_that("update a postprocessor", {
5858
workflow <- add_tailor(workflow, post)
5959
workflow <- update_tailor(workflow, post2)
6060

61-
expect_length(workflow$post$actions$tailor$tailor$adjustments, 1)
61+
expect_length(workflow$post$actions$tailor$tailor$operations, 1)
6262
})
6363

6464
test_that("update a postprocessor after postprocessor fit", {
@@ -74,7 +74,7 @@ test_that("update a postprocessor after postprocessor fit", {
7474

7575
workflow_with_post_new <- update_tailor(workflow_with_post, post2)
7676

77-
expect_length(workflow_with_post_new$post$actions$tailor$tailor$adjustments, 1)
77+
expect_length(workflow_with_post_new$post$actions$tailor$tailor$operations, 1)
7878

7979
# Note that the fitted model and preprocessor can remain; the new
8080
# postprocessor will not affect it (#225)

0 commit comments

Comments
 (0)