Skip to content

Commit

Permalink
align test with improved message
Browse files Browse the repository at this point in the history
  • Loading branch information
cregouby committed Sep 26, 2023
1 parent 859d9dc commit 209d04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-hardhat_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ test_that("fit raise an error with non-supported mask-type", {
expect_error(
tabnet_fit(rec, attrition, epochs = 1, valid_split = 0.25, verbose = TRUE,
config = tabnet_config( mask_type="max_entropy")),
regexp = "either sparsemax or entmax"
regexp = "either 'sparsemax' or 'entmax' as"
)

})
Expand Down

0 comments on commit 209d04b

Please sign in to comment.