summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest-printers.cc
diff options
context:
space:
mode:
authorTroy Holsapple <troy.holsapple@gmail.com>2018-02-08 06:06:00 (GMT)
committerTroy Holsapple <troy.holsapple@gmail.com>2018-02-08 06:06:00 (GMT)
commitc8510504ddf3bd9e486fdce076bdf5dba62d18bb (patch)
treeffdf7a37e88e36216955c70f209afacdb3b506e9 /googletest/src/gtest-printers.cc
parenta3c73ed28d7995b18d48027aee740ad827fcc157 (diff)
downloadgoogletest-c8510504ddf3bd9e486fdce076bdf5dba62d18bb.zip
googletest-c8510504ddf3bd9e486fdce076bdf5dba62d18bb.tar.gz
googletest-c8510504ddf3bd9e486fdce076bdf5dba62d18bb.tar.bz2
Diffstat (limited to 'googletest/src/gtest-printers.cc')
-rw-r--r--googletest/src/gtest-printers.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/src/gtest-printers.cc b/googletest/src/gtest-printers.cc
index 1bdf243..fe70edc 100644
--- a/googletest/src/gtest-printers.cc
+++ b/googletest/src/gtest-printers.cc
@@ -124,7 +124,7 @@ namespace internal {
// Depending on the value of a char (or wchar_t), we print it in one
// of three formats:
// - as is if it's a printable ASCII (e.g. 'a', '2', ' '),
-// - as a hexidecimal escape sequence (e.g. '\x7F'), or
+// - as a hexadecimal escape sequence (e.g. '\x7F'), or
// - as a special escape sequence (e.g. '\r', '\n').
enum CharFormat {
kAsIs,
@@ -231,7 +231,7 @@ void PrintCharAndCodeTo(Char c, ostream* os) {
return;
*os << " (" << static_cast<int>(c);
- // For more convenience, we print c's code again in hexidecimal,
+ // For more convenience, we print c's code again in hexadecimal,
// unless c was already printed in the form '\x##' or the code is in
// [1, 9].
if (format == kHexEscape || (1 <= c && c <= 9)) {