26 lines
778 B
Diff
26 lines
778 B
Diff
From 0a21e67970593968f48770f12d52e40af110c823 Mon Sep 17 00:00:00 2001
|
|
From: penelope <anchor_cool@163.com>
|
|
Date: Sat, 7 May 2022 14:19:53 +0800
|
|
Subject: [PATCH] test_no_file
|
|
|
|
---
|
|
tests/test_cli.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/test_cli.py b/tests/test_cli.py
|
|
index 7b42724..316e4e1 100644
|
|
--- a/tests/test_cli.py
|
|
+++ b/tests/test_cli.py
|
|
@@ -54,7 +54,7 @@ class TestConvert(TestCase):
|
|
message = buffer.read().decode()
|
|
self.assertIn('usage', message)
|
|
self.assertIn('underscore-emphasis', message)
|
|
- self.assertIn('optional arguments:', message)
|
|
+ self.assertRegex(message,r'option(s|al arguments):')
|
|
|
|
def test_parse_file(self):
|
|
output = parse_from_file(test_md)
|
|
--
|
|
2.27.0
|
|
|