summaryrefslogtreecommitdiff
path: root/transaction_test.go
diff options
context:
space:
mode:
authorMichael Steinert <[email protected]>2015-12-04 09:21:38 -0600
committerMichael Steinert <[email protected]>2015-12-04 09:21:38 -0600
commit7f5fc62ba4a6fc7ea64b3da094269d05d89f60b9 (patch)
tree4e868741bb5209ccf781e7fa763acd10cda383bd /transaction_test.go
parent4314ed7dcc2ce5728603fa8c8385510fa74829fc (diff)
Remove dead code
Diffstat (limited to 'transaction_test.go')
-rw-r--r--transaction_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/transaction_test.go b/transaction_test.go
index 81714cc..6be678f 100644
--- a/transaction_test.go
+++ b/transaction_test.go
@@ -12,8 +12,9 @@ func TestPAM_001(t *testing.T) {
if u.Uid != "0" {
t.Skip("run this test as root")
}
+ p := "secret"
tx, err := StartFunc("", "test", func(s Style, msg string) (string, error) {
- return "secret", nil
+ return p, nil
})
if err != nil {
t.Fatalf("start #error: %v", err)