Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

Commit

Permalink
Fixed up tests and bumped go version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecloutier-pd committed Jan 26, 2017
1 parent 2b6155b commit ce0621c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go
go:
- 1.5.3
- 1.7.4
addons:
apt:
packages:
Expand Down
8 changes: 4 additions & 4 deletions args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (t *TestSuite) Test_binArgs_parse(c *C) {
"-V",
}

verOut := fmt.Sprintf("cronner v%s built with %s\nCopyright 2015 PagerDuty, Inc.; released under the BSD 3-Clause License\n", Version, runtime.Version())
verOut := fmt.Sprintf("cronner v%s built with %s\nCopyright 2017 PagerDuty, Inc.; released under the BSD 3-Clause License\n", Version, runtime.Version())

output, err = args.parse(cli)
c.Assert(err, IsNil)
Expand Down Expand Up @@ -122,7 +122,7 @@ func (t *TestSuite) Test_binArgs_parse(c *C) {
"-F",
"-G", "test_group",
"-g", "metric_group",
"-H", 'test_host',
"-H", "test_host",
"-k",
"-l", "test",
"-L", "info",
Expand Down Expand Up @@ -171,7 +171,7 @@ func (t *TestSuite) Test_binArgs_parse(c *C) {
"--log-fail",
"--event-group", "test_group",
"--group", "metric_group",
"--statsd-host", 'test_host',
"--statsd-host", "test_host",
"--lock",
"--label", "test",
"--log-path", "/var/log/testcronner",
Expand Down Expand Up @@ -218,7 +218,7 @@ func (t *TestSuite) Test_binArgs_parse(c *C) {
"--group=metric_group",
"--label=test",
"--log-path=/var/log/testcronner",
"--statsd-host=test_host"
"--statsd-host=test_host",
"--log-level=info",
"--namespace=testcronner",
"--warn-after=42",
Expand Down

0 comments on commit ce0621c

Please sign in to comment.