summaryrefslogtreecommitdiff
blob: 7a116187d4c8f53cdc142000d87b3a53177d7cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
From c8329f1bca61c203b48f80f01876384a79cceab5 Mon Sep 17 00:00:00 2001
From: milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Date: Sat, 14 May 2016 21:15:00 +0000
Subject: [PATCH] Apply #131 (update pygments test to pygments 2.1) by
 cstratak.

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7936 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
---
 .../test_parsers/test_rst/test_directives/test_code.py     |  6 +++---
 .../test_rst/test_directives/test_code_long.py             |  2 +-
 docutils/test/test_parsers/test_rst/test_interpreted.py    | 14 +++++++-------
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/test/test_parsers/test_rst/test_directives/test_code.py b/test/test_parsers/test_rst/test_directives/test_code.py
index 5e013d4..8affcbe 100644
--- a/test/test_parsers/test_rst/test_directives/test_code.py
+++ b/test/test_parsers/test_rst/test_directives/test_code.py
@@ -107,10 +107,10 @@ totest['code-parsing'] = [
         <inline classes="keyword">
             print
          \n\
-        <inline classes="literal string">
+        <inline classes="literal string single">
             'hello world'
          \n\
-        <inline classes="comment">
+        <inline classes="comment single">
             # to stdout
 """],
 ["""\
@@ -155,7 +155,7 @@ totest['code-parsing'] = [
         <inline classes="ln">
             11 \n\
             \n\
-        <inline classes="comment">
+        <inline classes="comment single">
             # and now for something completely different
         \n\
         <inline classes="ln">
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
index f015357..e6430cc 100644
--- a/test/test_parsers/test_rst/test_directives/test_code_long.py
+++ b/test/test_parsers/test_rst/test_directives/test_code_long.py
@@ -60,7 +60,7 @@ totest['code-parsing-long'] = [
         <inline classes="ln">
             11 \n\
             \n\
-        <inline classes="comment">
+        <inline classes="comment single">
             # and now for something completely different
         \n\
         <inline classes="ln">
diff --git a/test/test_parsers/test_rst/test_interpreted.py b/test/test_parsers/test_rst/test_interpreted.py
index f9a1194..87d0a77 100755
--- a/test/test_parsers/test_rst/test_interpreted.py
+++ b/test/test_parsers/test_rst/test_interpreted.py
@@ -119,30 +119,30 @@ totest['basics'] = [
         :not a role if it contains whitespace:
 """],
 ["""\
-:title:`` (empty interpteted text not recognized)
+:title:`` (empty interpreted text not recognized)
 """,
 """\
 <document source="test data">
     <paragraph>
-        :title:`` (empty interpteted text not recognized)
+        :title:`` (empty interpreted text not recognized)
 """],
 ["""\
-:title:`\ ` (interpteted text containing empty string)
+:title:`\ ` (interpreted text containing empty string)
 """,
 """\
 <document source="test data">
     <paragraph>
         <title_reference>
-         (interpteted text containing empty string)
+         (interpreted text containing empty string)
 """],
 ["""\
-`\ `:title: (interpteted text containing empty string (postfix))
+`\ `:title: (interpreted text containing empty string (postfix))
 """,
 """\
 <document source="test data">
     <paragraph>
         <title_reference>
-         (interpteted text containing empty string (postfix))
+         (interpreted text containing empty string (postfix))
 """],
 ["""\
 :title:`\ non-empty`
@@ -283,7 +283,7 @@ Python code :python:`print("The end")`.
                 print
             <inline classes="punctuation">
                 (
-            <inline classes="literal string">
+            <inline classes="literal string double">
                 "The end"
             <inline classes="punctuation">
                 )
-- 
2.7.4.GIT