aboutsummaryrefslogtreecommitdiffstats
path: root/enc_test.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-11-11 11:43:11 -0800
committerRose Hogenson <rosehogenson@posteo.net>2025-11-11 11:43:11 -0800
commit3b1839e979b843ed5c305970d3e5c61816f06a31 (patch)
treed1c8fc7aae799e5d2643fd37b2a9be75f5fb7f11 /enc_test.go
parentbd8bb1246cdad558fca64fdcf6af343905746e29 (diff)
downloadsym-main.tar.zst
Add some comments and fix gofmtHEADmain
Diffstat (limited to 'enc_test.go')
-rw-r--r--enc_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/enc_test.go b/enc_test.go
index c800652..5dea92d 100644
--- a/enc_test.go
+++ b/enc_test.go
@@ -125,7 +125,7 @@ func TestEncCmd_Run_GeneratePassword(t *testing.T) {
password := new(strings.Builder)
opts := &encCmd{
generatePassword: true,
- passwordOut: password,
+ passwordOut: password,
}
if err := opts.run(fileName); err != nil {
t.Fatalf("encCmd.run(%+v) failed: %s", opts, err)
@@ -151,8 +151,8 @@ func TestEncCmd_Run_Stdin(t *testing.T) {
stdout := new(strings.Builder)
if err := (&encCmd{
password: password,
- stdin: strings.NewReader(input),
- stdout: stdout,
+ stdin: strings.NewReader(input),
+ stdout: stdout,
}).run(); err != nil {
t.Errorf("encCmd.run failed: %s", err)
}