Skip to content

Commit

Permalink
Remove trailing comma after last element in vec![] usages
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Feb 22, 2024
1 parent abe484e commit 3ef900f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod test {
launch.processes,
vec![Process {
r#type: process_type!("web"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("web_command")],
default: true,
working_directory: WorkingDirectory::App,
Expand All @@ -74,7 +74,7 @@ mod test {
launch.processes,
vec![Process {
r#type: process_type!("xxx"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("xxx_command")],
default: true,
working_directory: WorkingDirectory::App,
Expand All @@ -95,14 +95,14 @@ mod test {
vec![
Process {
r#type: process_type!("web"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("web_command")],
default: true,
working_directory: WorkingDirectory::App,
},
Process {
r#type: process_type!("foo"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("foo_command")],
default: false,
working_directory: WorkingDirectory::App,
Expand All @@ -124,14 +124,14 @@ mod test {
vec![
Process {
r#type: process_type!("foo"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("foo_command")],
default: false,
working_directory: WorkingDirectory::App,
},
Process {
r#type: process_type!("bar"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("bar_command")],
default: false,
working_directory: WorkingDirectory::App,
Expand Down Expand Up @@ -162,21 +162,21 @@ mod test {
vec![
Process {
r#type: process_type!("aaa"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("aaa_command")],
default: false,
working_directory: WorkingDirectory::App,
},
Process {
r#type: process_type!("ccc"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("ccc_command")],
default: false,
working_directory: WorkingDirectory::App,
},
Process {
r#type: process_type!("bbb"),
command: vec![String::from("bash"), String::from("-c"),],
command: vec![String::from("bash"), String::from("-c")],
args: vec![String::from("bbb_command")],
default: false,
working_directory: WorkingDirectory::App,
Expand Down

0 comments on commit 3ef900f

Please sign in to comment.