Merge pull request #1122 from chromy/upstream-146491438

Fixed misspelling in assertion message.
This commit is contained in:
Gennadiy Civil 2017-08-08 16:15:57 -04:00 committed by GitHub
commit aadf53d2a2

View File

@ -646,7 +646,7 @@ class SafeMatcherCastImpl {
// type U.
GTEST_COMPILE_ASSERT_(
internal::is_reference<T>::value || !internal::is_reference<U>::value,
cannot_convert_non_referentce_arg_to_reference);
cannot_convert_non_reference_arg_to_reference);
// In case both T and U are arithmetic types, enforce that the
// conversion is not lossy.
typedef GTEST_REMOVE_REFERENCE_AND_CONST_(T) RawT;