@@ -152,7 +152,7 @@ class op {
152
152
explicit op (const info& info) : info_{info} {}
153
153
154
154
template <class TLhs >
155
- comp<TLhs> operator % (const TLhs& lhs) const {
155
+ comp<TLhs> operator << (const TLhs& lhs) const {
156
156
return comp<TLhs>{info_, lhs};
157
157
}
158
158
@@ -176,21 +176,21 @@ struct ret_void {
176
176
} // namespace v1
177
177
} // namespace testing
178
178
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