@@ -199,7 +199,6 @@ TEST_F(MethodMetaTest, TensorInfoSizeOverflow) {
199199 std::numeric_limits<int32_t >::max (),
200200 std::numeric_limits<int32_t >::max (),
201201 };
202- <<<<<<< HEAD
203202
204203 // Create a minimal dim_order
205204 std::vector<uint8_t > dim_order = {0 , 1 , 2 , 3 };
@@ -213,20 +212,4 @@ TEST_F(MethodMetaTest, TensorInfoSizeOverflow) {
213212 false , // is_memory_planned
214213 executorch::aten::string_view{nullptr , 0 }),
215214 " " );
216- =======
217-
218- // Create a minimal dim_order
219- std::vector<uint8_t > dim_order = {0 , 1 , 2 , 3 };
220-
221- // Create a TensorInfo with the overflow sizes and expect it to fail.
222- ET_EXPECT_DEATH (
223- executorch::runtime::testing::TensorInfoTestFriend::get (
224- Span<const int32_t >(overflow_sizes.data (), overflow_sizes.size ()),
225- Span<const uint8_t >(dim_order.data (), dim_order.size ()),
226- executorch::aten::ScalarType::Float,
227- false , // is_memory_planned
228- executorch::aten::string_view{nullptr , 0 }),
229- " " );
230-
231- >>>>>>> 274eb94ae5abda2434bb3d295a5798849f8844c4
232215}
0 commit comments