typo
This commit is contained in:
parent
b4cbf531e9
commit
4d554c391b
|
@ -902,6 +902,8 @@ TEST(SafeMatcherCastTest, FromSameType) {
|
||||||
EXPECT_FALSE(m2.Matches(1));
|
EXPECT_FALSE(m2.Matches(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined _MSC_VER
|
||||||
|
|
||||||
namespace convertible_from_any {
|
namespace convertible_from_any {
|
||||||
TEST(SafeMatcherCastTest, ConversionConstructorIsUsed) {
|
TEST(SafeMatcherCastTest, ConversionConstructorIsUsed) {
|
||||||
Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1);
|
Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1);
|
||||||
|
@ -917,6 +919,8 @@ TEST(SafeMatcherCastTest, FromConvertibleFromAny) {
|
||||||
}
|
}
|
||||||
} // namespace convertible_from_any
|
} // namespace convertible_from_any
|
||||||
|
|
||||||
|
#endif // !defined _MSC_VER
|
||||||
|
|
||||||
TEST(SafeMatcherCastTest, ValueIsNotCopied) {
|
TEST(SafeMatcherCastTest, ValueIsNotCopied) {
|
||||||
int n = 42;
|
int n = 42;
|
||||||
Matcher<IntReferenceWrapper> m = SafeMatcherCast<IntReferenceWrapper>(n);
|
Matcher<IntReferenceWrapper> m = SafeMatcherCast<IntReferenceWrapper>(n);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user