Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 0755616

Browse files
schedutronapavlo
authored andcommitted
Reduce exception check scope
1 parent 1e528e0 commit 0755616

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/sql/insert_sql_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,6 @@ TEST_F(InsertSQLTests, NonExistentTable) {
585585
txn = txn_manager.BeginTransaction();
586586
auto plan =
587587
TestingSQLUtil::GeneratePlanWithOptimizer(optimizer, query, txn);
588-
EXPECT_EQ(plan->GetPlanNodeType(), PlanNodeType::INSERT);
589-
txn_manager.CommitTransaction(txn);
590588
} catch (peloton::Exception &ex) {
591589
EXPECT_EQ(ExceptionType::CATALOG, ex.GetType());
592590
EXPECT_STREQ("Table NotExistTestTable is not found", ex.what());

0 commit comments

Comments
 (0)