Skip to content

Commit

Permalink
Remove unnecessary vec![] usages
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Oct 24, 2023
1 parent c2d49fc commit 33a649b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildpacks/ruby/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ DEPENDENCIES

TestRunner::default().build(
BuildConfig::new("heroku/builder:22", app_dir.path())
.buildpacks(vec![
.buildpacks([
BuildpackReference::Other(String::from("heroku/jvm")),
BuildpackReference::CurrentCrate,
]),
Expand All @@ -97,7 +97,7 @@ DEPENDENCIES
fn test_ruby_app_with_yarn_app() {
TestRunner::default().build(
BuildConfig::new("heroku/builder:22", "tests/fixtures/yarn-ruby-app")
.buildpacks(vec![
.buildpacks([
BuildpackReference::Other(String::from("heroku/nodejs-engine")),
BuildpackReference::Other(String::from("heroku/nodejs-yarn")),
BuildpackReference::CurrentCrate,
Expand All @@ -122,7 +122,7 @@ fn test_barnes_app() {
context.start_container(
ContainerConfig::new()
.entrypoint("launcher")
.envs(vec![
.envs([
("DYNO", "web.1"),
("PORT", "1234"),
("AGENTMON_DEBUG", "1"),
Expand Down

0 comments on commit 33a649b

Please sign in to comment.