Internal change

PiperOrigin-RevId: 373855275
This commit is contained in:
hai007
2021-05-14 13:31:37 -07:00
committed by Copybara-Service
parent 47d26955d0
commit 836f3e2599
+1 -1
View File
@@ -41,7 +41,7 @@ TEST(ExceptionOr, Result_Copy_Const) {
EXPECT_FALSE(exception_or_vector.result().empty());
// Expect a copy when not explicitly moving the result.
std::vector<int> copy = exception_or_vector.result();
const std::vector<int>& copy = exception_or_vector.result();
EXPECT_FALSE(copy.empty());
EXPECT_FALSE(exception_or_vector.result().empty());
}