mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Changed to a more generic URL for testing
This commit is contained in:
parent
b97e1400e6
commit
11a281b862
2 changed files with 4 additions and 4 deletions
|
@ -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 }, },
|
||||
|
|
|
@ -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__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue