Skip to content

Commit ee9d62d

Browse files
committed
make wasm threads happy
1 parent a7d9f59 commit ee9d62d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

barretenberg/cpp/src/barretenberg/ecc/fields/field_conversion.test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ TEST_F(FieldConversionTest, AcceptCanonicalPointAtInfinity)
193193

194194
/**
195195
* @brief Test that points not on the curve are rejected.
196+
* @note Skipped in WASM builds because death tests (EXPECT_DEATH) aren't supported.
196197
*/
198+
#ifndef __wasm__
197199
TEST_F(FieldConversionTest, RejectPointNotOnCurve)
198200
{
199201
// Test for BN254: (1, 4) is not on the curve
@@ -208,5 +210,6 @@ TEST_F(FieldConversionTest, RejectPointNotOnCurve)
208210
EXPECT_THROW_OR_ABORT(FrCodec::deserialize_from_fields<curve::Grumpkin::AffineElement>(fr_vec), "on_curve");
209211
}
210212
}
213+
#endif
211214

212215
} // namespace bb::field_conversion_tests

0 commit comments

Comments
 (0)