@@ -152,7 +152,7 @@ class op {
152152 explicit op (const info& info) : info_{info} {}
153153
154154 template <class TLhs >
155- comp<TLhs> operator % (const TLhs& lhs) const {
155+ comp<TLhs> operator << (const TLhs& lhs) const {
156156 return comp<TLhs>{info_, lhs};
157157 }
158158
@@ -176,21 +176,21 @@ struct ret_void {
176176} // namespace v1
177177} // namespace testing
178178
179- #define EXPECT (...) \
180- (::testing::detail::op<std::true_type>{ \
181- ::testing::detail::info{__FILE__, __LINE__, #__VA_ARGS__, \
182- ::testing::TestPartResult::kNonFatalFailure }} % \
183- __VA_ARGS__)
184-
185- #define ASSERT (...) \
186- if (::testing::detail::op<std::false_type>{ \
187- ::testing::detail::info{__FILE__, __LINE__, #__VA_ARGS__, \
188- ::testing::TestPartResult::kFatalFailure }} % \
189- __VA_ARGS__) \
190- ::testing::detail::drop{}; \
191- else \
192- return ::testing::detail::ret_void{} == \
193- (::testing::detail::op<std::true_type>{::testing::detail::info{ \
194- __FILE__, __LINE__, #__VA_ARGS__, \
195- ::testing::TestPartResult::kFatalFailure }} % \
196- __VA_ARGS__)
179+ #define EXPECT (...) \
180+ (::testing::detail::op<std::true_type>{ \
181+ ::testing::detail::info{__FILE__, __LINE__, #__VA_ARGS__, \
182+ ::testing::TestPartResult::kNonFatalFailure }} \
183+ << __VA_ARGS__)
184+
185+ #define ASSERT (...) \
186+ if (::testing::detail::op<std::false_type>{ \
187+ ::testing::detail::info{__FILE__, __LINE__, #__VA_ARGS__, \
188+ ::testing::TestPartResult::kFatalFailure }} \
189+ << __VA_ARGS__) \
190+ void ( ::testing::detail::drop{}); \
191+ else \
192+ return ::testing::detail::ret_void{} == \
193+ (::testing::detail::op<std::true_type>{::testing::detail::info{ \
194+ __FILE__, __LINE__, #__VA_ARGS__, \
195+ ::testing::TestPartResult::kFatalFailure }} \
196+ << __VA_ARGS__)
0 commit comments