From 152f34f98de9264eeb2ba92cd36e6c196b12ff8d Mon Sep 17 00:00:00 2001 From: Mike Toews Date: Sat, 2 Jun 2018 19:37:23 +1200 Subject: Upgrade http:// to https:// where feasible --- test/catch.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/catch.hpp b/test/catch.hpp index ecd8907e..1621c044 100644 --- a/test/catch.hpp +++ b/test/catch.hpp @@ -6,7 +6,7 @@ * Copyright (c) 2018 Two Blue Cubes Ltd. All rights reserved. * * Distributed under the Boost Software License, Version 1.0. (See accompanying - * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + * file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) */ #ifndef TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED #define TWOBLUECUBES_SINGLE_INCLUDE_CATCH_HPP_INCLUDED @@ -5216,7 +5216,7 @@ namespace Catch { // Copyright 2017 Two Blue Cubes Ltd. All rights reserved. // // Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) // // See https://github.com/philsquared/Clara for more details @@ -6893,7 +6893,7 @@ namespace { // use POSIX/ ANSI console terminal codes // Thanks to Adam Strzelecki for original contribution - // (http://github.com/nanoant) + // (https://github.com/nanoant) // https://github.com/philsquared/Catch/pull/131 class PosixColourImpl : public IColourImpl { public: @@ -11011,7 +11011,7 @@ namespace { void XmlEncode::encodeTo( std::ostream& os ) const { // Apostrophe escaping not necessary if we always use " to write attributes - // (see: http://www.w3.org/TR/xml/#syntax) + // (see: https://www.w3.org/TR/xml/#syntax) for( std::size_t idx = 0; idx < m_str.size(); ++ idx ) { uchar c = m_str[idx]; @@ -11020,7 +11020,7 @@ namespace { case '&': os << "&"; break; case '>': - // See: http://www.w3.org/TR/xml/#syntax + // See: https://www.w3.org/TR/xml/#syntax if (idx > 2 && m_str[idx - 1] == ']' && m_str[idx - 2] == ']') os << ">"; else -- cgit v1.2.3 From abf44ad4154dc3ffd1be2090e2f5c8e07bf35528 Mon Sep 17 00:00:00 2001 From: Mike Toews Date: Sat, 2 Jun 2018 19:49:34 +1200 Subject: use shortened URL from StackExchange websites --- test/catch.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/catch.hpp b/test/catch.hpp index 1621c044..312f9e4d 100644 --- a/test/catch.hpp +++ b/test/catch.hpp @@ -169,7 +169,7 @@ namespace Catch { #ifdef __CYGWIN__ // Required for some versions of Cygwin to declare gettimeofday -// see: http://stackoverflow.com/questions/36901803/gettimeofday-not-declared-in-this-scope-cygwin +// see: https://stackoverflow.com/a/36902237 # define _BSD_SOURCE #endif // __CYGWIN__ @@ -11038,7 +11038,7 @@ namespace { // Check for control characters and invalid utf-8 // Escape control characters in standard ascii - // see http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml-1-0 + // see https://stackoverflow.com/q/404107 if (c < 0x09 || (c > 0x0D && c < 0x20) || c == 0x7F) { hexEscapeChar(os, c); break; -- cgit v1.2.3