Skip to content

Commit 336e03b

Browse files
committed
remove
1 parent 227c85d commit 336e03b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/iceberg/test/literal_test.cc

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,6 @@
3030

3131
namespace iceberg {
3232

33-
namespace {
34-
35-
// Helper function to assert that a CastTo operation succeeds and checks
36-
// the resulting type and value.
37-
template <typename T>
38-
void AssertCastSucceeds(const Result<Literal>& result, TypeId expected_type_id,
39-
const T& expected_value) {
40-
ASSERT_THAT(result, IsOk());
41-
ASSERT_EQ(result->type()->type_id(), expected_type_id);
42-
EXPECT_EQ(std::get<T>(result->value()), expected_value)
43-
<< "Type mismatch in std::get. Expected type for TypeId "
44-
<< static_cast<int>(expected_type_id);
45-
}
46-
47-
} // namespace
48-
4933
// Parameter struct for basic literal tests
5034
struct BasicLiteralTestParam {
5135
std::string test_name;

0 commit comments

Comments
 (0)