Skip to content

Commit

Permalink
[fix] Fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsreaper committed Nov 8, 2024
1 parent 27462d3 commit 8c0ba8e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ public void testAlterTableRenameColumn() throws Exception {
.satisfies(
anyCauseMatches(
Catalog.ColumnNotExistException.class,
"Column [non_existing_col] does not exist in the test_db.test_table table."));
"Column non_existing_col does not exist in the test_db.test_table table."));
}

@Test
Expand Down Expand Up @@ -647,7 +647,7 @@ public void testAlterTableUpdateColumnType() throws Exception {
.satisfies(
anyCauseMatches(
Catalog.ColumnNotExistException.class,
"Column [non_existing_col] does not exist in the test_db.test_table table."));
"Column non_existing_col does not exist in the test_db.test_table table."));
// Alter table update a column type throws Exception when column is partition columns
assertThatThrownBy(
() ->
Expand Down Expand Up @@ -718,7 +718,7 @@ public void testAlterTableUpdateColumnComment() throws Exception {
.satisfies(
anyCauseMatches(
Catalog.ColumnNotExistException.class,
"Column [non_existing_col] does not exist in the test_db.test_table table."));
"Column non_existing_col does not exist in the test_db.test_table table."));
}

@Test
Expand Down Expand Up @@ -774,7 +774,7 @@ public void testAlterTableUpdateColumnNullability() throws Exception {
.satisfies(
anyCauseMatches(
Catalog.ColumnNotExistException.class,
"Column [non_existing_col] does not exist in the test_db.test_table table."));
"Column non_existing_col does not exist in the test_db.test_table table."));

// Alter table update a column nullability throws Exception when column is pk columns
assertThatThrownBy(
Expand Down

0 comments on commit 8c0ba8e

Please sign in to comment.