chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
normalize tags and exercise this
[disorder]
/
tests
/
dump.py
diff --git
a/tests/dump.py
b/tests/dump.py
index 2db150500e0223ee650223c2e2381119f423e6ba..f8f2074c924a96c37f228862040b687cf43c6e2e 100755
(executable)
--- a/
tests/dump.py
+++ b/
tests/dump.py
@@
-34,11
+34,11
@@
def test():
assert c.getglobal("foo") == "before", "checking global foo=before"
print "adding a tag"
# Exercise the tags-changed code
assert c.getglobal("foo") == "before", "checking global foo=before"
print "adding a tag"
# Exercise the tags-changed code
- c.set(track, "tags", "
first tag, another t
ag")
+ c.set(track, "tags", "
first tag, Another T
ag")
assert dtest.lists_have_same_contents(c.tags(),
[u"another tag", u"first tag"]),\
"checking tag list(1)"
assert dtest.lists_have_same_contents(c.tags(),
[u"another tag", u"first tag"]),\
"checking tag list(1)"
- c.set(track, "tags", "wibble,
another tag
")
+ c.set(track, "tags", "wibble,
another tag
")
assert dtest.lists_have_same_contents(c.tags(),
[u"another tag", u"wibble"]),\
"checking tag list(2)"
assert dtest.lists_have_same_contents(c.tags(),
[u"another tag", u"wibble"]),\
"checking tag list(2)"