Remove coverage exclusion
This commit is contained in:
parent
c706c04453
commit
9ba90f5b70
@ -2082,9 +2082,8 @@ class binary_reader
|
||||
}
|
||||
if (!value_in_range_of<std::size_t>(number))
|
||||
{
|
||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||
}
|
||||
result = static_cast<std::size_t>(number);
|
||||
return true;
|
||||
@ -2133,9 +2132,8 @@ class binary_reader
|
||||
}
|
||||
if (!value_in_range_of<std::size_t>(number))
|
||||
{
|
||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||
}
|
||||
result = detail::conditional_static_cast<std::size_t>(number);
|
||||
return true;
|
||||
|
||||
@ -10767,9 +10767,8 @@ class binary_reader
|
||||
}
|
||||
if (!value_in_range_of<std::size_t>(number))
|
||||
{
|
||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||
}
|
||||
result = static_cast<std::size_t>(number);
|
||||
return true;
|
||||
@ -10818,9 +10817,8 @@ class binary_reader
|
||||
}
|
||||
if (!value_in_range_of<std::size_t>(number))
|
||||
{
|
||||
// undo coverage exclusion once the 32bit test is run as part of CI (#3524)
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, // LCOV_EXCL_LINE
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr)); // LCOV_EXCL_LINE
|
||||
return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408,
|
||||
exception_message(input_format, "integer value overflow", "size"), nullptr));
|
||||
}
|
||||
result = detail::conditional_static_cast<std::size_t>(number);
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user