Skip to content

Commit

Permalink
Core: Cleanup assertion messages in partition spec tests (apache#9528)
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh-jahagirdar authored and geruh committed Jan 25, 2024
1 parent 71b0a26 commit 2ffaf15
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public void testAddMultipleBuckets() {
.bucket("id", 8, "id_bucket_8")
.build();

Assert.assertEquals("Should have a day and an hour time field", expected, bucket8);
Assert.assertEquals("Should have multiple bucket partition fields", expected, bucket8);
}

@Test
Expand Down Expand Up @@ -601,7 +601,7 @@ public void testRenameAfterAdd() {
}

@Test
public void testDeleteAndRename() {
public void testRenameAndDelete() {
Assertions.assertThatThrownBy(
() ->
new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)
Expand All @@ -612,7 +612,7 @@ public void testDeleteAndRename() {
}

@Test
public void testRenameAndDelete() {
public void testDeleteAndRename() {
Assertions.assertThatThrownBy(
() ->
new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)
Expand Down

0 comments on commit 2ffaf15

Please sign in to comment.