summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/test_bibparse.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/test_bibparse.py b/examples/test_bibparse.py
index 9857ab4..b1a55c5 100644
--- a/examples/test_bibparse.py
+++ b/examples/test_bibparse.py
@@ -57,22 +57,22 @@ class TestBibparse(unittest.TestCase):
self.assertEqual(obj.parseString("{}").asList(), [])
self.assertEqual(obj.parseString('{a "string}')[0], 'a "string')
self.assertEqual(
- ["a ", ["nested"], "string"],
+ ["a ", ["nested"], " string"],
obj.parseString("{a {nested} string}").asList(),
)
self.assertEqual(
- ["a ", ["double ", ["nested"]], "string"],
+ ["a ", ["double ", ["nested"]], " string"],
obj.parseString("{a {double {nested}} string}").asList(),
)
for obj in (bp.quoted_string, bp.string, bp.field_value):
self.assertEqual([], obj.parseString('""').asList())
self.assertEqual("a string", obj.parseString('"a string"')[0])
self.assertEqual(
- ["a ", ["nested"], "string"],
+ ["a ", ["nested"], " string"],
obj.parseString('"a {nested} string"').asList(),
)
self.assertEqual(
- ["a ", ["double ", ["nested"]], "string"],
+ ["a ", ["double ", ["nested"]], " string"],
obj.parseString('"a {double {nested}} string"').asList(),
)