From 86c2b969f1dfe0bda6b24435aafc8364dde30c8d Mon Sep 17 00:00:00 2001 From: "Alec L. Robitaille" Date: Tue, 19 Nov 2024 20:04:50 -0400 Subject: [PATCH] fix integer returned --- tests/testthat/test-edge-delay.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-edge-delay.R b/tests/testthat/test-edge-delay.R index 7b7004a4..b32bae99 100644 --- a/tests/testthat/test-edge-delay.R +++ b/tests/testthat/test-edge-delay.R @@ -87,8 +87,8 @@ test_that('two columns added to the result DT', { ncol(edge_delay(edges, DT, id = id, window = window))) }) -test_that('column added to the result DT is double', { - expect_type(edge_delay(edges, DT, id = id, window = window)$dir_corr_delay, 'double') +test_that('column added to the result DT is integer', { + expect_type(edge_delay(edges, DT, id = id, window = window)$dir_corr_delay, 'integer') }) test_that('returns a data.table', {