wgtmac commented on code in PR #194: URL: https://github.com/apache/iceberg-cpp/pull/194#discussion_r2303461524
########## test/schema_test.cc: ########## @@ -51,14 +51,6 @@ TEST(SchemaTest, Basics) { ASSERT_EQ(std::nullopt, schema.GetFieldByIndex(-1)); ASSERT_EQ(std::nullopt, schema.GetFieldByName("element")); } - ASSERT_THAT( - []() { - iceberg::SchemaField field1(5, "foo", iceberg::int32(), true); - iceberg::SchemaField field2(5, "bar", iceberg::string(), true); - iceberg::Schema schema({field1, field2}, 100); - }, - ::testing::ThrowsMessage<std::runtime_error>( Review Comment: You're right. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org