Skip to content

Commit a12c028

Browse files
Merge pull request #200 from tidymodels/test-self-self
2 parents d6220f8 + 5539aff commit a12c028

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

tests/testthat/test-adasyn.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ test_that("empty selection prep/bake is a no-op", {
307307
baked1 <- bake(rec1, mtcars)
308308
baked2 <- bake(rec2, mtcars)
309309

310-
expect_identical(baked1, baked1)
310+
expect_identical(baked1, baked2)
311311
})
312312

313313
test_that("empty selection tidy method works", {

tests/testthat/test-bsmote.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ test_that("empty selection prep/bake is a no-op", {
396396
baked1 <- bake(rec1, mtcars)
397397
baked2 <- bake(rec2, mtcars)
398398

399-
expect_identical(baked1, baked1)
399+
expect_identical(baked1, baked2)
400400
})
401401

402402
test_that("empty selection tidy method works", {

tests/testthat/test-downsample.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ test_that("empty selection prep/bake is a no-op", {
279279
baked1 <- bake(rec1, mtcars)
280280
baked2 <- bake(rec2, mtcars)
281281

282-
expect_identical(baked1, baked1)
282+
expect_identical(baked1, baked2)
283283
})
284284

285285
test_that("empty selection tidy method works", {

tests/testthat/test-nearmiss.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ test_that("empty selection prep/bake is a no-op", {
252252
baked1 <- bake(rec1, mtcars)
253253
baked2 <- bake(rec2, mtcars)
254254

255-
expect_identical(baked1, baked1)
255+
expect_identical(baked1, baked2)
256256
})
257257

258258
test_that("empty selection tidy method works", {

tests/testthat/test-rose.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ test_that("empty selection prep/bake is a no-op", {
283283
baked1 <- bake(rec1, mtcars)
284284
baked2 <- bake(rec2, mtcars)
285285

286-
expect_identical(baked1, baked1)
286+
expect_identical(baked1, baked2)
287287
})
288288

289289
test_that("empty selection tidy method works", {

tests/testthat/test-smote.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ test_that("empty selection prep/bake is a no-op", {
303303
baked1 <- bake(rec1, mtcars)
304304
baked2 <- bake(rec2, mtcars)
305305

306-
expect_identical(baked1, baked1)
306+
expect_identical(baked1, baked2)
307307
})
308308

309309
test_that("empty selection tidy method works", {

tests/testthat/test-smotenc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ test_that("empty selection prep/bake is a no-op", {
330330
baked1 <- bake(rec1, mtcars)
331331
baked2 <- bake(rec2, mtcars)
332332

333-
expect_identical(baked1, baked1)
333+
expect_identical(baked1, baked2)
334334
})
335335

336336
test_that("empty selection tidy method works", {

tests/testthat/test-tomek.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ test_that("empty selection prep/bake is a no-op", {
183183
baked1 <- bake(rec1, mtcars)
184184
baked2 <- bake(rec2, mtcars)
185185

186-
expect_identical(baked1, baked1)
186+
expect_identical(baked1, baked2)
187187
})
188188

189189
test_that("empty selection tidy method works", {

tests/testthat/test-upsample.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ test_that("empty selection prep/bake is a no-op", {
278278
baked1 <- bake(rec1, mtcars)
279279
baked2 <- bake(rec2, mtcars)
280280

281-
expect_identical(baked1, baked1)
281+
expect_identical(baked1, baked2)
282282
})
283283

284284
test_that("empty selection tidy method works", {

0 commit comments

Comments
 (0)