diff options
| author | mo khan <mo.khan@gmail.com> | 2020-05-02 18:09:02 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-05-02 18:09:02 -0600 |
| commit | b68c2b23b28bf88a22befc07bb439dccc4540c27 (patch) | |
| tree | f4a0eff72d66ba99898d420bf66e722dd9187e00 | |
| parent | 96ffa5e41153352f788553c5792a4f117a3c5e6a (diff) | |
Detect license in under 10 ms
| -rwxr-xr-x | bin/test | 2 | ||||
| -rw-r--r-- | spec/unit/core/guess_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -13,5 +13,5 @@ echo ["$(date "+%H:%M:%S")"] "==> Running tests…" if [ $# -eq 0 ]; then bundle exec parallel_rspec spec else - bundle exec parallel_rspec "$@" + bundle exec rspec "$@" fi diff --git a/spec/unit/core/guess_spec.rb b/spec/unit/core/guess_spec.rb index 750ac6e..2e267d4 100644 --- a/spec/unit/core/guess_spec.rb +++ b/spec/unit/core/guess_spec.rb @@ -55,7 +55,7 @@ RSpec.describe Spandx::Core::Guess do pending algorithm do expect do subject.license_for(content, algorithm: algorithm) - end.to perform_under(0.05).sample(10) + end.to perform_under(0.01).sample(10) end end end |
