mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Fix error message when unmatched quotes are encountered by CAPTURE
Thanks to @ledvinap for noticing
This commit is contained in:
parent
31537c43d9
commit
99602787cd
@ -84,7 +84,7 @@ namespace Catch {
|
|||||||
if (names[i] == '\\')
|
if (names[i] == '\\')
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
CATCH_INTERNAL_ERROR("CAPTURE parsing encountered unmatched parentheses");
|
CATCH_INTERNAL_ERROR("CAPTURE parsing encountered unmatched quote");
|
||||||
};
|
};
|
||||||
|
|
||||||
size_t start = 0;
|
size_t start = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user