Skip to content

Commit

Permalink
test for equality not identicalness
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed May 16, 2024
1 parent 63b2051 commit 2e149a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-import.R
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ test_that("diploid missing data is handled correctly", {
file1 <- tempfile()
genind2genalex(nancycats, file1, quiet = TRUE)
nan <- read.genalex(file1, genclone = FALSE)
expect_identical(summary(nancycats, verbose = FALSE), summary(nan, verbose = FALSE))
expect_equal(summary(nancycats, verbose = FALSE), summary(nan, verbose = FALSE))
})

test_that("sequence data is handled correctly", {
Expand Down

0 comments on commit 2e149a3

Please sign in to comment.