From 6f5265b7fe976a597337b96d5e95522f05c9d4b6 Mon Sep 17 00:00:00 2001 From: shahramn Date: Tue, 17 Dec 2024 10:19:01 +0000 Subject: [PATCH] SD-103535 --- tests/unit_tests.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit_tests.cc b/tests/unit_tests.cc index ddb00ab24..72a098c46 100644 --- a/tests/unit_tests.cc +++ b/tests/unit_tests.cc @@ -858,9 +858,7 @@ static void test_grib_get_binary_scale_fact() { printf("Running %s ...\n", __func__); int err = 0; - long result = grib_get_binary_scale_fact(INFINITY, 0, 0, &err); - Assert( err == GRIB_OUT_OF_RANGE); - Assert( result == 0 ); + long result = 0; result = grib_get_binary_scale_fact(100, 0, 65, &err); // bpv too big Assert( err == GRIB_OUT_OF_RANGE);