Build: qualify wasm test suite with portable libc++ fallbacks (refs #38)
This commit is contained in:
1 parent
1ba60d5d6a
commit
f0820b778f
7 files changed
+163
-12
No files matched your search
@@ -27,10 +27,14 @@ Void::Testing::Test struct_eq_passes_when_equal()
|
||||
// includes the type name and field values.
|
||||
Void::Testing::Test repr_renders_struct_via_reflection()
|
||||
{
|
||||
#if !VOID_HAS_CXX26_REFLECTION
|
||||
Void::Testing::skip("C++26 reflection is not available");
|
||||
#else
|
||||
const auto out = Void::Testing::Detail::repr(Point{3, 4});
|
||||
Void::Testing::expect(out.find("Point") != std::string::npos);
|
||||
Void::Testing::expect(out.find("x: 3") != std::string::npos);
|
||||
Void::Testing::expect(out.find("y: 4") != std::string::npos);
|
||||
#endif
|
||||
}
|
||||
|
||||
// repr for primitives still works.
|
||||
|
||||
Reference in new issue
Block a user