@@ -437,23 +437,23 @@ TEST(STR_TO_INT8, DummyData_Negative) {
437437}
438438
439439TEST (STR_TO_INT8, EmptyString) {
440- const char * empty = " " ;
440+ const char * empty = " " ;
441441 char error = 0 ;
442442 int8_t result = str_to_int8 (empty, empty, &error);
443443 EXPECT_EQ (0 , result);
444444 EXPECT_EQ (1 , error); // Should set error flag for empty string
445445}
446446
447447TEST (STR_TO_INT8, JustMinusSign) {
448- const char * just_minus = " -" ;
448+ const char * just_minus = " -" ;
449449 char error = 0 ;
450450 int8_t result = str_to_int8 (just_minus, just_minus + 1 , &error);
451451 EXPECT_EQ (0 , result);
452452 EXPECT_EQ (1 , error); // Should set error flag for just minus sign
453453}
454454
455455TEST (STR_TO_INT8, NoDigits) {
456- const char * no_digits = " abc" ;
456+ const char * no_digits = " abc" ;
457457 char error = 0 ;
458458 int8_t result = str_to_int8 (no_digits, no_digits + 3 , &error);
459459 EXPECT_EQ (0 , result);
@@ -543,15 +543,15 @@ TEST(STR_TO_INT64, MixedInvalidCharacters) {
543543}
544544
545545TEST (STR_TO_INT64, EmptyString) {
546- const char * empty = " " ;
546+ const char * empty = " " ;
547547 char error = 0 ;
548548 int64_t result = str_to_int64 (empty, empty, &error);
549549 EXPECT_EQ (0 , result);
550550 EXPECT_EQ (1 , error); // Should set error flag for empty string
551551}
552552
553553TEST (STR_TO_INT64, JustMinusSign) {
554- const char * just_minus = " -" ;
554+ const char * just_minus = " -" ;
555555 char error = 0 ;
556556 int64_t result = str_to_int64 (just_minus, just_minus + 1 , &error);
557557 EXPECT_EQ (0 , result);
0 commit comments