From 0837427e001efb30d34069db921f0bc0a020ce5d Mon Sep 17 00:00:00 2001 From: Ludger Sprenker Date: Sat, 6 Feb 2016 16:08:48 +0100 Subject: [PATCH] Minor changes suggested by nabijaczleweli --- include/internal/catch_xmlwriter.hpp | 2 +- projects/SelfTest/MiscTests.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/internal/catch_xmlwriter.hpp b/include/internal/catch_xmlwriter.hpp index 1e1d6e95..f65e440f 100644 --- a/include/internal/catch_xmlwriter.hpp +++ b/include/internal/catch_xmlwriter.hpp @@ -97,7 +97,7 @@ namespace Catch { class XmlEncode { public: - enum ForWhat { ForTextNodes, ForAttributes }; + enum ForWhat { ForTextNodes, ForAttributes }; XmlEncode( std::string const& str, ForWhat forWhat = ForTextNodes ) : m_str( str ), diff --git a/projects/SelfTest/MiscTests.cpp b/projects/SelfTest/MiscTests.cpp index 685ca592..84ab4771 100644 --- a/projects/SelfTest/MiscTests.cpp +++ b/projects/SelfTest/MiscTests.cpp @@ -463,10 +463,10 @@ TEST_CASE( "XmlEncode" ) { SECTION( "string with control char (x7F)" ) { REQUIRE( encode( "[\x7F]" ) == "[]" ); } - SECTION( "string with control char that is negativ on signed char (xFF)" ) { + SECTION( "string with control char that is negative on signed char (xFF)" ) { REQUIRE( encode( "[\xFF]" ) == "[ÿ]" ); } - SECTION( "string with utf8 multi byte char (german 'ae' umlaut)" ) { + SECTION( "string with utf8 multibyte char (german 'ae' umlaut)" ) { REQUIRE( encode( "[\xC3\xA4]" ) == "[\xC3\xA4]" ); } }