1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-03-12 04:07:01 -04:00

add more regex code to match

This commit is contained in:
Shlomi Fish 2025-02-28 14:10:00 +02:00
parent 97322f81f4
commit c8b6ce0fcd

View file

@ -65,6 +65,14 @@ class ImportFileTests(unittest.TestCase):
'''<state><move pile="store0" position="0">'''
'''<card id="[0-9]+" rank="four"'''
''' suit="clubs" turn="face-up"></card>'''
'''<card id="[0-9]+" rank="two"'''
''' suit="clubs" turn="face-up"></card>'''
'''<card id="[0-9]+" rank="nine"'''
''' suit="clubs" turn="face-up"></card>'''
'''<card id="[0-9]+" rank="eight"'''
''' suit="clubs" turn="face-up"></card>'''
'''<card id="[0-9]+" rank="queen"'''
''' suit="spades" turn="face-up"></card>'''
),
blurb='xml import worked')