Added limitation of bundled_gems.rb with sub-feature example

This commit is contained in:
Hiroshi SHIBATA 2024-12-23 16:21:27 +09:00
parent 3cbfd21916
commit 4de6680a88
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -129,6 +129,9 @@ RSpec.describe "bundled_gems.rb" do
RUBY
expect(err).to include(/fiddle was loaded from (.*) from Ruby 3.5.0/)
# We should assert caller location of sub-feature like below:
# expect(err).to include(/-e:7/)
# The current warning message is the location of fiddle itself on sub-feature.
expect(err).to include(/fiddle\/import\.rb:2/) # brittle
end