summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Steinert <[email protected]>2019-02-15 12:06:59 -0600
committerMichael Steinert <[email protected]>2019-02-15 12:06:59 -0600
commitf29b9f28d6f9a1f6c4e6fd5db731999eb946574b (patch)
tree86820333cfce01fd19064e9df16b59e4859e7775
parentf4cd9f5e29232537a12db1678f48c702ad6896b7 (diff)
Update CI build matrix & fix some lint
-rw-r--r--.travis.yml4
-rw-r--r--transaction_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 33afc3a..a31101d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,8 @@
language: go
go:
- - 1.8.x
- - 1.9.x
+ - 1.10.x
+ - 1.11.x
- tip
before_install:
diff --git a/transaction_test.go b/transaction_test.go
index 6be678f..84ebb4a 100644
--- a/transaction_test.go
+++ b/transaction_test.go
@@ -175,7 +175,7 @@ func TestPAM_007(t *testing.T) {
}
func TestItem(t *testing.T) {
- tx, err := StartFunc("passwd", "test", func(s Style, msg string) (string, error) {
+ tx, _ := StartFunc("passwd", "test", func(s Style, msg string) (string, error) {
return "", nil
})