commit
d0905653ed
|
@ -43,6 +43,15 @@
|
||||||
|
|
||||||
namespace testing {
|
namespace testing {
|
||||||
|
|
||||||
|
// Silence C4100 (unreferenced formal
|
||||||
|
// parameter) for MSVC
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
# pragma warning(disable:4100)
|
||||||
|
#if (_MSC_VER == 1900)
|
||||||
|
# pragma warning(disable:4800)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// Defines a matcher that matches an empty container. The container must
|
// Defines a matcher that matches an empty container. The container must
|
||||||
// support both size() and empty(), which all STL-like containers provide.
|
// support both size() and empty(), which all STL-like containers provide.
|
||||||
MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {
|
MATCHER(IsEmpty, negation ? "isn't empty" : "is empty") {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user