From 25ee9c2731d415f469ff41e81bd3df6e320c8db9 Mon Sep 17 00:00:00 2001 From: Bill Denney Date: Thu, 7 Dec 2023 08:41:38 -0500 Subject: [PATCH] Remove duplicate tests --- tests/testthat/test-excel_time_to_numeric.R | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/testthat/test-excel_time_to_numeric.R b/tests/testthat/test-excel_time_to_numeric.R index 454ad741..42d7ac93 100644 --- a/tests/testthat/test-excel_time_to_numeric.R +++ b/tests/testthat/test-excel_time_to_numeric.R @@ -97,15 +97,6 @@ test_that("excel_time_to_numeric, am/pm times work case insensitively and with s ) }) -test_that("excel_time_to_numeric, 24-hour times work (zero-padded hours or not)", { - expect_equal(excel_time_to_numeric("8:00"), 8 * 3600) - expect_equal(excel_time_to_numeric("08:00"), 8 * 3600) - expect_equal(excel_time_to_numeric("08:10"), 8 * 3600 + 10 * 60) - expect_equal(excel_time_to_numeric("8:10:05"), 8 * 3600 + 10 * 60 + 5) - expect_equal(excel_time_to_numeric("21:05"), 21 * 3600 + 5 * 60) - expect_equal(excel_time_to_numeric("21:05:20"), 21 * 3600 + 5 * 60 + 20) -}) - test_that("excel_time_to_numeric, 24-hour times work (zero-padded hours or not)", { expect_equal(excel_time_to_numeric("8:00"), 8 * 3600) expect_equal(excel_time_to_numeric("08:00"), 8 * 3600)