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

Commit bf259f7

Browse files
schedutronapavlo
authored andcommitted
Fix expected table name in test
1 parent 0755616 commit bf259f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sql/insert_sql_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,13 +581,13 @@ TEST_F(InsertSQLTests, NonExistentTable) {
581581
EXPECT_THROW({
582582
try {
583583
// Insert an int into a non-existent table.
584-
std::string query("INSERT INTO NotExistTestTable VALUES(3);");
584+
std::string query("INSERT INTO NonExistentTable VALUES(3);");
585585
txn = txn_manager.BeginTransaction();
586586
auto plan =
587587
TestingSQLUtil::GeneratePlanWithOptimizer(optimizer, query, txn);
588588
} catch (peloton::Exception &ex) {
589589
EXPECT_EQ(ExceptionType::CATALOG, ex.GetType());
590-
EXPECT_STREQ("Table NotExistTestTable is not found", ex.what());
590+
EXPECT_STREQ("Table nonexistenttable is not found", ex.what());
591591
throw peloton::CatalogException(ex.what());
592592
}
593593
}, peloton::CatalogException);

0 commit comments

Comments
 (0)