Fixed misspelling in assertion message.

This upstreams a Google-internal change (146491438).
This commit is contained in:
Hector Dearman 2017-06-19 18:27:33 +01:00
parent c2d90bddc6
commit 24054ff073

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;