Skip to content

Commit c2f999e

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 917668221
1 parent da45d34 commit c2f999e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

eval/public/equality_function_registrar_test.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ std::string CelValueEqualTestName(
204204
}
205205

206206
TEST_P(CelValueEqualImplTypesTest, Basic) {
207-
absl::optional<bool> result = CelValueEqualImpl(lhs(), rhs());
207+
std::optional<bool> result = CelValueEqualImpl(lhs(), rhs());
208208

209209
if (lhs().IsNull() || rhs().IsNull()) {
210210
if (lhs().IsNull() && rhs().IsNull()) {
@@ -286,7 +286,7 @@ const std::vector<NumericInequalityTestCase>& NumericValuesNotEqualExample() {
286286
using NumericInequalityTest = testing::TestWithParam<NumericInequalityTestCase>;
287287
TEST_P(NumericInequalityTest, NumericValues) {
288288
NumericInequalityTestCase test_case = GetParam();
289-
absl::optional<bool> result = CelValueEqualImpl(test_case.a, test_case.b);
289+
std::optional<bool> result = CelValueEqualImpl(test_case.a, test_case.b);
290290
EXPECT_TRUE(result.has_value());
291291
EXPECT_EQ(*result, false);
292292
}
@@ -299,7 +299,7 @@ INSTANTIATE_TEST_SUITE_P(
299299
});
300300

301301
TEST(CelValueEqualImplTest, LossyNumericEquality) {
302-
absl::optional<bool> result = CelValueEqualImpl(
302+
std::optional<bool> result = CelValueEqualImpl(
303303
CelValue::CreateDouble(
304304
static_cast<double>(std::numeric_limits<int64_t>::max()) - 1),
305305
CelValue::CreateInt64(std::numeric_limits<int64_t>::max()));

0 commit comments

Comments
 (0)