Skip to content

Commit

Permalink
fix potato field
Browse files Browse the repository at this point in the history
  • Loading branch information
robitalec committed Nov 20, 2024
1 parent 86c2b96 commit 2f67e07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/testthat/test-edge-delay.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ test_that('column names must exist in DT', {
expect_error(edge_delay(copy_edges, DT, id = id, window = window),
'dyadID field')

expect_error(edge_delay(edges, DT, id = id, direction = 'potato'),
'direction field')
expect_error(edge_delay(edges, DT, id = id, window = window,
direction = 'potato'),
'potato field')

copy_DT <- copy(clean_DT)
copy_DT[, timegroup := NULL]
Expand Down

0 comments on commit 2f67e07

Please sign in to comment.