mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Ensure platform-independent output from SpecialException::what
This commit is contained in:
@@ -45,6 +45,10 @@ namespace { namespace MatchersTests {
|
||||
struct SpecialException : std::exception {
|
||||
SpecialException(int i_) : i(i_) {}
|
||||
|
||||
char const* what() const noexcept override {
|
||||
return "SpecialException::what";
|
||||
}
|
||||
|
||||
int i;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user