From eb7dee831e2b60aaf2c5bfad02efe52d5f6f2ef8 Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Wed, 30 Apr 2025 16:30:56 +0100 Subject: [PATCH] Rename locktime tests Existing display tests only test lock by block height. New tests are needed for lock by block time. Change existing test names to make it clear which type of locktime is being tested. --- units/tests/str.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/units/tests/str.rs b/units/tests/str.rs index 0b365af20..767ed6a9f 100644 --- a/units/tests/str.rs +++ b/units/tests/str.rs @@ -37,11 +37,11 @@ check! { fee_rate_max, FeeRate, FeeRate::MAX, "18446744073709551615"; fee_rate_dust, FeeRate, FeeRate::DUST, "750"; - lock_time_absolute_min, absolute::Height, absolute::Height::MIN, "0"; - lock_time_absolute_max, absolute::Height, absolute::Height::MAX, "499999999"; + lock_by_height_absolute_min, absolute::Height, absolute::Height::MIN, "0"; + lock_by_height_absolute_max, absolute::Height, absolute::Height::MAX, "499999999"; - lock_time_relative_min, relative::Height, relative::Height::MIN, "0"; - lock_time_relative_max, relative::Height, relative::Height::MAX, "65535"; + lock_by_height_relative_min, relative::Height, relative::Height::MIN, "0"; + lock_by_height_relative_max, relative::Height, relative::Height::MAX, "65535"; weight_min, Weight, Weight::MIN, "0"; weight_max, Weight, Weight::MAX, "18446744073709551615";