Use erb for simple executable example

This commit is contained in:
Hiroshi SHIBATA 2025-02-27 19:53:24 +09:00
parent 921ca9d8a8
commit 4f19f23036
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -658,7 +658,7 @@ RSpec.describe "bundle exec" do
gem "foo", :path => "#{lib_path("foo-1.0")}" gem "foo", :path => "#{lib_path("foo-1.0")}"
G G
bundle "exec syntax_suggest", raise_on_error: false bundle "exec erb", raise_on_error: false
expect(err).to match("The gemspec at #{lib_path("foo-1.0").join("foo.gemspec")} is not valid") expect(err).to match("The gemspec at #{lib_path("foo-1.0").join("foo.gemspec")} is not valid")
expect(err).to match(/missing value for attribute rubygems_version|rubygems_version must not be nil/) expect(err).to match(/missing value for attribute rubygems_version|rubygems_version must not be nil/)