python-m2r/0001-test_no_file.patch

26 lines
779 B
Diff
Raw Permalink Normal View History

2023-02-28 04:32:36 -05:00
From 84f20338bd2c3a54143256115db91cb9f1d01289 Mon Sep 17 00:00:00 2001
From: lvfei <lvfei@kylinos.cn>
Date: Tue, 28 Feb 2023 17:26:04 +0800
2022-05-07 16:00:17 +08:00
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
2023-02-28 04:32:36 -05:00
index d190a2c..b9e9563 100644
2022-05-07 16:00:17 +08:00
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
2023-02-28 04:32:36 -05:00
@@ -51,7 +51,7 @@ class TestConvert(TestCase):
2022-05-07 16:00:17 +08:00
self.assertIn('underscore-emphasis', message)
2023-02-28 04:32:36 -05:00
self.assertIn('anonymous-references', message)
self.assertIn('inline-math', message)
- self.assertIn('options:', message)
+ self.assertRegex(message, r'option(s|al arguments):')
2022-05-07 16:00:17 +08:00
def test_parse_file(self):
output = parse_from_file(test_md)
--
2.27.0