Skip to content

Commit 2ffaf15

Browse files
amogh-jahagirdarDrew Gallardo
authored andcommitted
Core: Cleanup assertion messages in partition spec tests (apache#9528)
1 parent 71b0a26 commit 2ffaf15

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void testAddMultipleBuckets() {
235235
.bucket("id", 8, "id_bucket_8")
236236
.build();
237237

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

241241
@Test
@@ -601,7 +601,7 @@ public void testRenameAfterAdd() {
601601
}
602602

603603
@Test
604-
public void testDeleteAndRename() {
604+
public void testRenameAndDelete() {
605605
Assertions.assertThatThrownBy(
606606
() ->
607607
new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)
@@ -612,7 +612,7 @@ public void testDeleteAndRename() {
612612
}
613613

614614
@Test
615-
public void testRenameAndDelete() {
615+
public void testDeleteAndRename() {
616616
Assertions.assertThatThrownBy(
617617
() ->
618618
new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)

0 commit comments

Comments
 (0)