mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
merge, ... gmock-matchers test
This commit is contained in:
parent
07f3bdd4c9
commit
b2d81b4fb2
@ -61,7 +61,7 @@
|
||||
|
||||
// Disable MSVC2015 warning for std::pair:
|
||||
// "decorated name length exceeded, name was truncated".
|
||||
#if defined(_MSC_VER) && (_MSC_VER == 1900)
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1900)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable:4503)
|
||||
#endif
|
||||
@ -761,7 +761,7 @@ namespace convertible_from_any {
|
||||
struct ConvertibleFromAny {
|
||||
ConvertibleFromAny(int a_value) : value(a_value) {}
|
||||
template <typename T>
|
||||
explicit ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||
ConvertibleFromAny(const T& /*a_value*/) : value(-1) {
|
||||
ADD_FAILURE() << "Conversion constructor called";
|
||||
}
|
||||
int value;
|
||||
@ -6696,7 +6696,7 @@ TEST(NotTest, WorksOnMoveOnlyType) {
|
||||
} // namespace gmock_matchers_test
|
||||
} // namespace testing
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER == 1900)
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1900)
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user