forked from Alepha/Alepha
Relax the test print debugging rules.
A type which cannot be printed when streamed in "Relaxed" mode will simply print the typeid and that's it. This is opposed to its original behaviour which would be a compile time error.
This commit is contained in:
@ -127,7 +127,11 @@ namespace Alepha::Hydrogen::Testing ::detail:: printDebugging_m
|
||||
}
|
||||
else
|
||||
{
|
||||
static_assert( dependent_value< false, T >, "One of the types used in the testing table does not support stringification." );
|
||||
if constexpr( outputMode == OutputMode::Relaxed )
|
||||
{
|
||||
oss << "<Unstreamable object of type `" << typeid( v ).name() << "`>";
|
||||
}
|
||||
else static_assert( dependent_value< false, T >, "One of the types used in the testing table does not support stringification." );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user