Skip to content

Commit

Permalink
Fix test for new behaviour of c() in R 4.1
Browse files Browse the repository at this point in the history
* we weren't relying on the old behaviour beyond this test
* closes #444
  • Loading branch information
jefferis committed Sep 9, 2020
1 parent a93a2cb commit f7e5f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-neuronlist.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test_that("c.neuronlist behaves", {
expect_equivalent(c(Cell07PNs[1:5], c610.nodf), Cell07PNs[1:10])

expect_equivalent(kcs20[1:6], c(kcs20[1:2], kcs20[3:4], kcs20[5:6]))
expect_error(c(Cell07PNs[1:5], NULL))
expect_error(c(Cell07PNs[1:5], list()))
expect_error(c(Cell07PNs[1:5], Cell07PNs[1:5]), "neurons with the same name")
})

Expand Down

0 comments on commit f7e5f95

Please sign in to comment.