fornwall / rust-script

Run Rust files and expressions as scripts without any setup or compilation step.
https://rust-script.org
Apache License 2.0
1.27k stars 43 forks source link

Mark tests which need internet access #104

Closed pbrkr closed 1 year ago

pbrkr commented 1 year ago

Tests which depend on downloading dependency crates will fail when executed in an environment which has no internet access. To allow for offline testing, these tests are only enabled with the "online_tests" feature.

To run all tests, including those which need internet access, it is now necessary to run:

cargo test --features online_tests
fornwall commented 1 year ago

Thanks!