Skip to content
Snippets Groups Projects
Commit 5e80c53c authored by Rami Ali's avatar Rami Ali Committed by Damien George
Browse files

tests/extmod: Improve test coverage of ure module.

parent d7150b09
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,10 @@ try:
except IndexError:
print("IndexError")
# conversion of re and match to string
str(r)
str(m)
r = re.compile("(.+)1")
m = r.match("xyz781")
print(m.group(0))
......
import ure as re
r = re.compile('( )')
try:
s = r.split("a b c foobar")
except NotImplementedError:
print('NotImplementedError')
NotImplementedError
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment