Skip to content

Commit

Permalink
Explained about test_for_warn_bundled_gems
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Dec 15, 2023
1 parent c3ae4b6 commit cc9aeec
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tool/test_for_warn_bundled_gems/README.md
@@ -0,0 +1,21 @@
This directory contains tests for the bundled gems warning under the Bundler.

## Warning cases

test_warn_bundled_gems.rb:
test_warn_dependency.rb:
test_warn_dash_gem.rb:
$ ruby test_warn_dash_gem.rb

test_warn_bundle_exec.rb:
$ bundle exec ruby test_warn_bundle_exec.rb

test_warn_bundle_exec_shebang.rb:
$ bundle exec ./test_warn_bundle_exec_shebang.rb

## Not warning cases

test_no_warn_dash_gem.rb:
test_no_warn_bootsnap.rb:
test_no_warn_dependency.rb:
$ ruby test_no_warn_dash_gem.rb

0 comments on commit cc9aeec

Please sign in to comment.