|
|
5c85656 |
From 54f4b07302ce3ced064f7093d86b00c2fe1e81c0 Mon Sep 17 00:00:00 2001
|
|
|
5c85656 |
From: Charalampos Stratakis <cstratak@redhat.com>
|
|
|
5c85656 |
Date: Thu, 5 May 2016 17:48:26 +0200
|
|
|
5c85656 |
Subject: [PATCH] Fix failing tests
|
|
|
5c85656 |
|
|
|
5c85656 |
---
|
|
|
5c85656 |
test/test_parsers/test_rst/test_directives/test_code.py | 6 +++---
|
|
|
5c85656 |
test/test_parsers/test_rst/test_directives/test_code_long.py | 2 +-
|
|
|
5c85656 |
test/test_parsers/test_rst/test_interpreted.py | 2 +-
|
|
|
5c85656 |
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
|
5c85656 |
|
|
|
5c85656 |
diff --git a/test/test_parsers/test_rst/test_directives/test_code.py b/test/test_parsers/test_rst/test_directives/test_code.py
|
|
|
5c85656 |
index 219a975..8168357 100644
|
|
|
5c85656 |
--- a/test/test_parsers/test_rst/test_directives/test_code.py
|
|
|
5c85656 |
+++ b/test/test_parsers/test_rst/test_directives/test_code.py
|
|
|
5c85656 |
@@ -107,10 +107,10 @@ totest['code-parsing'] = [
|
|
|
5c85656 |
<inline classes="keyword">
|
|
|
5c85656 |
print
|
|
|
5c85656 |
\n\
|
|
|
5c85656 |
- <inline classes="literal string">
|
|
|
5c85656 |
+ <inline classes="literal string single">
|
|
|
5c85656 |
'hello world'
|
|
|
5c85656 |
\n\
|
|
|
5c85656 |
- <inline classes="comment">
|
|
|
5c85656 |
+ <inline classes="comment single">
|
|
|
5c85656 |
# to stdout
|
|
|
5c85656 |
"""],
|
|
|
5c85656 |
["""\
|
|
|
5c85656 |
@@ -155,7 +155,7 @@ totest['code-parsing'] = [
|
|
|
5c85656 |
<inline classes="ln">
|
|
|
5c85656 |
11 \n\
|
|
|
5c85656 |
\n\
|
|
|
5c85656 |
- <inline classes="comment">
|
|
|
5c85656 |
+ <inline classes="comment single">
|
|
|
5c85656 |
# and now for something completely different
|
|
|
5c85656 |
\n\
|
|
|
5c85656 |
<inline classes="ln">
|
|
|
5c85656 |
diff --git a/test/test_parsers/test_rst/test_directives/test_code_long.py b/test/test_parsers/test_rst/test_directives/test_code_long.py
|
|
|
5c85656 |
index 6adf631..d2e5dbb 100644
|
|
|
5c85656 |
--- a/test/test_parsers/test_rst/test_directives/test_code_long.py
|
|
|
5c85656 |
+++ b/test/test_parsers/test_rst/test_directives/test_code_long.py
|
|
|
5c85656 |
@@ -60,7 +60,7 @@ totest['code-parsing-long'] = [
|
|
|
5c85656 |
<inline classes="ln">
|
|
|
5c85656 |
11 \n\
|
|
|
5c85656 |
\n\
|
|
|
5c85656 |
- <inline classes="comment">
|
|
|
5c85656 |
+ <inline classes="comment single">
|
|
|
5c85656 |
# and now for something completely different
|
|
|
5c85656 |
\n\
|
|
|
5c85656 |
<inline classes="ln">
|
|
|
5c85656 |
diff --git a/test/test_parsers/test_rst/test_interpreted.py b/test/test_parsers/test_rst/test_interpreted.py
|
|
|
5c85656 |
index 7beab09..a9227e2 100755
|
|
|
5c85656 |
--- a/test/test_parsers/test_rst/test_interpreted.py
|
|
|
5c85656 |
+++ b/test/test_parsers/test_rst/test_interpreted.py
|
|
|
5c85656 |
@@ -283,7 +283,7 @@ Python code :python:`print("The end")`.
|
|
|
5c85656 |
print
|
|
|
5c85656 |
<inline classes="punctuation">
|
|
|
5c85656 |
(
|
|
|
5c85656 |
- <inline classes="literal string">
|
|
|
5c85656 |
+ <inline classes="literal string double">
|
|
|
5c85656 |
"The end"
|
|
|
5c85656 |
<inline classes="punctuation">
|
|
|
5c85656 |
)
|
|
|
5c85656 |
--
|
|
|
5c85656 |
2.5.5
|
|
|
5c85656 |
|