Skip to content

Commit 6120174

Browse files
Update tests/testthat/test_postprocessing_helpers.R
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6dcb2de commit 6120174

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/testthat/test_postprocessing_helpers.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ test_that("keras_postprocess_probs handles multi-output with NULL levels fallbac
113113
class(mock_object_null_lvl) <- "model_fit"
114114
processed <- keras_postprocess_probs(results, mock_object_null_lvl)
115115
expect_s3_class(processed, "tbl_df")
116-
expect_equal(names(processed), c(".pred_output1_class1", ".pred_output1_class2"))
116+
expect_equal(
117+
names(processed),
118+
c(".pred_output1_class1", ".pred_output1_class2")
119+
)
117120
})
118121

119122
# --- Tests for keras_postprocess_classes ---

0 commit comments

Comments
 (0)