Skip to content

Commit

Permalink
#58 Make read commands test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
zshamrock committed May 6, 2018
1 parent 106eaca commit db75170
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ func TestReadConfig(t *testing.T) {
"logs": {
Name: "logs",
Command: "cat logs/app.log",
WorkingDir: "/opt/app",
WorkingDir: "",
},
"app-logs": {
Name: "app-logs",
Command: "tail -f -n 10 logs/app.log",
WorkingDir: "/opt/app",
WorkingDir: "",
},
"follow-logs": {
Name: "follow-logs",
Expand All @@ -31,13 +31,13 @@ func TestReadConfig(t *testing.T) {
"redeploy": {
Name: "redeploy",
Command: "./redeploy.sh",
WorkingDir: "/opt/app",
WorkingDir: "",
RequiresConfirmation: true,
},
"disk-space": {
Name: "disk-space",
Command: "command=df -h",
WorkingDir: "/opt/app",
Command: "df -h",
WorkingDir: "",
},
}
equal := reflect.DeepEqual(commands, expected)
Expand Down

0 comments on commit db75170

Please sign in to comment.