From 2ffaf15efebeba4df42da80f18256b4f19c8ff32 Mon Sep 17 00:00:00 2001 From: Amogh Jahagirdar Date: Sun, 21 Jan 2024 23:40:03 -0800 Subject: [PATCH] Core: Cleanup assertion messages in partition spec tests (#9528) --- .../java/org/apache/iceberg/TestUpdatePartitionSpec.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java b/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java index 926272e60f98..5ecf138870ad 100644 --- a/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java +++ b/core/src/test/java/org/apache/iceberg/TestUpdatePartitionSpec.java @@ -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 @@ -601,7 +601,7 @@ public void testRenameAfterAdd() { } @Test - public void testDeleteAndRename() { + public void testRenameAndDelete() { Assertions.assertThatThrownBy( () -> new BaseUpdatePartitionSpec(formatVersion, PARTITIONED) @@ -612,7 +612,7 @@ public void testDeleteAndRename() { } @Test - public void testRenameAndDelete() { + public void testDeleteAndRename() { Assertions.assertThatThrownBy( () -> new BaseUpdatePartitionSpec(formatVersion, PARTITIONED)