diff options
Diffstat (limited to 'vendor/regex-syntax/test')
-rwxr-xr-x | vendor/regex-syntax/test | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vendor/regex-syntax/test b/vendor/regex-syntax/test index 4b1b9fb1a..a4d6cfaba 100755 --- a/vendor/regex-syntax/test +++ b/vendor/regex-syntax/test @@ -7,6 +7,7 @@ echo "===== DEFAULT FEATURES ===" cargo test features=( + std unicode unicode-age unicode-bool @@ -17,6 +18,9 @@ features=( unicode-segment ) for f in "${features[@]}"; do - echo "===== FEATURE: $f ===" - cargo test --no-default-features --features "$f" + echo "=== FEATURE: $f ===" + # We only run library tests because I couldn't figure out how to easily + # make doc tests run in 'no_std' mode. In particular, without the Error + # trait, using '?' in doc tests seems tricky. + cargo test --no-default-features --lib --features "$f" done |