We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a21d04b + e305152 commit 062b444Copy full SHA for 062b444
strictdoc/helpers/google_test.py
@@ -21,11 +21,13 @@ def convert_function_name_to_gtest_macro(input_str: str) -> List[str]:
21
input_str = input_str_parts[1]
22
23
if "." not in input_str:
24
- raise ValueError("Input string must contain a dot.")
+ raise ValueError(f"Input string must contain a dot: '{input_str}'.")
25
26
parts = input_str.split(".")
27
if len(parts) != 2:
28
- raise ValueError("Input string must contain exactly one dot.")
+ raise ValueError(
29
+ f"Input string must contain exactly one dot: '{input_str}'."
30
+ )
31
32
if is_pattern_function:
33
return [
0 commit comments