summaryrefslogtreecommitdiff
path: root/unitTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unitTests.py')
-rw-r--r--unitTests.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/unitTests.py b/unitTests.py
index a165e39..b7a5171 100644
--- a/unitTests.py
+++ b/unitTests.py
@@ -985,13 +985,13 @@ class SkipToParserTests(ParseTestCase):
tryToParse('some text /* comment with ; in */; working')
tryToParse('some text /* comment with ; in */some other stuff; working', fail_expected=True)
- # test that we correctly create named results
- text = "prefixDATAsuffix"
- data = Literal("DATA")
- suffix = Literal("suffix")
- expr = SkipTo(data + suffix)('prefix') + data + suffix
- result = expr.parseString(text)
- assert isinstance(result.prefix, str), "SkipTo created with wrong saveAsList attribute"
+ # test that we correctly create named results
+ text = "prefixDATAsuffix"
+ data = Literal("DATA")
+ suffix = Literal("suffix")
+ expr = SkipTo(data + suffix)('prefix') + data + suffix
+ result = expr.parseString(text)
+ assert isinstance(result.prefix, str), "SkipTo created with wrong saveAsList attribute"
class CustomQuotesTest(ParseTestCase):
def runTest(self):