Minimal test for regex (#1038)

This is useful for testing the build system becaues regex is a fairly
small package that uses C.
This commit is contained in:
Dexter Chua 2021-01-04 19:52:43 +08:00 committed by GitHub
parent 81cc3015bb
commit 15a8ada2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
def test_regex(selenium, request):
selenium.load_package("regex")
assert selenium.run("import regex\nregex.search('o', 'foo').end()") == 2