Skip to content

Commit a7d2b47

Browse files
committed
fix test
1 parent 56f12d4 commit a7d2b47

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

velox/vector/arrow/tests/ArrowBridgeArrayTest.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ class ArrowBridgeArrayExportTest : public testing::Test {
185185
<< "mismatch at index " << i;
186186
break;
187187
default:
188-
VELOX_USER_FAIL(fmt::format(
189-
"Timestamp unit not supported: {}.", options_.timestampUnit));
188+
VELOX_USER_FAIL(
189+
"Timestamp unit not supported: {}.",static_cast<int>(options_.timestampUnit));
190190
}
191191
} else {
192192
EXPECT_EQ(inputData[i], values[i]) << "mismatch at index " << i;
@@ -1033,8 +1033,8 @@ class ArrowBridgeArrayImportTest : public ArrowBridgeArrayExportTest {
10331033
rawValues[i] = inputValues[i]->toNanos();
10341034
break;
10351035
default:
1036-
VELOX_USER_FAIL(fmt::format(
1037-
"Timestamp unit not supported: {}.", options_.timestampUnit));
1036+
VELOX_USER_FAIL(
1037+
"Timestamp unit not supported: {}.",static_cast<int>(options_.timestampUnit));
10381038
}
10391039
} else {
10401040
rawValues[i] = *inputValues[i];
@@ -1179,8 +1179,8 @@ class ArrowBridgeArrayImportTest : public ArrowBridgeArrayExportTest {
11791179
<< "mismatch at index " << i;
11801180
break;
11811181
default:
1182-
VELOX_USER_FAIL(fmt::format(
1183-
"Timestamp unit not supported: {}.", options_.timestampUnit));
1182+
VELOX_USER_FAIL(
1183+
"Timestamp unit not supported: {}.", static_cast<int>(options_.timestampUnit));
11841184
}
11851185
}
11861186
} else {

0 commit comments

Comments
 (0)