Skip to content

Commit bc85a59

Browse files
committed
updated for new interface values
1 parent 1f07131 commit bc85a59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/testthat/test_fit_interfaces.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tester <-
1313
test_that('good args', {
1414
expect_equal(tester(NULL, formula = f, data = iris), "formula")
1515
expect_equal(tester(NULL, recipe = rec, data = iris), "recipe")
16-
expect_equal(tester(NULL, x = iris, y = iris), "xy")
16+
expect_equal(tester(NULL, x = iris, y = iris), "data.frame")
1717
expect_equal(tester(NULL, f, data = iris), "formula")
1818
expect_equal(tester(NULL, formula = f, data = iris, y = iris), "formula")
1919
})
@@ -29,4 +29,3 @@ test_that('wrong args', {
2929
expect_error(tester(NULL, f, x = iris, y = iris, data = iris))
3030
})
3131

32-

0 commit comments

Comments
 (0)