From 4ffdfe817f615e5e4ef3d64b900c12a66364cccc Mon Sep 17 00:00:00 2001 From: Federico Hernandez Date: Sun, 18 Feb 2018 00:30:13 +0100 Subject: [PATCH] Changed to a more generic URL for testing --- test/lexer.t.cpp | 4 ++-- test/log.t | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/lexer.t.cpp b/test/lexer.t.cpp index e16d12976..de9c1a92f 100644 --- a/test/lexer.t.cpp +++ b/test/lexer.t.cpp @@ -347,8 +347,8 @@ int main (int, char**) { "rc.foo", { { "rc.foo", Lexer::Type::dom }, NO, NO, NO, NO }, }, // URL - { "http://tasktools.org", { { "http://tasktools.org", Lexer::Type::url }, NO, NO, NO, NO }, }, - { "https://bug.tasktools.org", { { "https://bug.tasktools.org", Lexer::Type::url }, NO, NO, NO, NO }, }, + { "http://example.com", { { "http://example.com", Lexer::Type::url }, NO, NO, NO, NO }, }, + { "https://foo.example.com", { { "https://foo.example.com", Lexer::Type::url }, NO, NO, NO, NO }, }, // String { "'one two'", { { "'one two'", Lexer::Type::string }, NO, NO, NO, NO }, }, diff --git a/test/log.t b/test/log.t index de534ecc9..f692867f9 100755 --- a/test/log.t +++ b/test/log.t @@ -67,10 +67,10 @@ class TestBug1575(TestCase): tw-1575: `task log` mangles URLs when quoted """ - self.t("log testing123 https://bug.tasktools.org") + self.t("log testing123 https://foo.example.com") code, out, err = self.t("completed") - self.assertIn("testing123 https://bug.tasktools.org", out) + self.assertIn("testing123 https://foo.example.com", out) if __name__ == "__main__":