Skip to content

Commit 01c4ce7

Browse files
committed
chore: run gofmt on main_test.go and encrypt.go
1 parent 2a8c09d commit 01c4ce7

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

cmd/msx/main_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,14 +545,14 @@ func TestRenderFilesListText(t *testing.T) {
545545

546546
func TestRenderWhoamiText(t *testing.T) {
547547
text, ok := renderText("whoami", map[string]any{
548-
"displayName": "Cameron Harris",
549-
"userPrincipalName": "cam@example.com",
550-
"mail": "cam@example.com",
551-
"id": "user-abc-123",
552-
"jobTitle": "Engineer",
553-
"officeLocation": "Remote",
554-
"mobilePhone": "+1 555 0100",
555-
"preferredLanguage": "en-US",
548+
"displayName": "Cameron Harris",
549+
"userPrincipalName": "cam@example.com",
550+
"mail": "cam@example.com",
551+
"id": "user-abc-123",
552+
"jobTitle": "Engineer",
553+
"officeLocation": "Remote",
554+
"mobilePhone": "+1 555 0100",
555+
"preferredLanguage": "en-US",
556556
})
557557
if !ok {
558558
t.Fatal("expected renderer to handle whoami")

internal/store/encrypt.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ const (
5252
type storeMode int
5353

5454
const (
55-
modePlain storeMode = iota // no encryption
56-
modeAES256GCM // AES-256-GCM with explicit key
57-
modeKeyring // key from platform keyring
55+
modePlain storeMode = iota // no encryption
56+
modeAES256GCM // AES-256-GCM with explicit key
57+
modeKeyring // key from platform keyring
5858
)
5959

6060
// keyConfig holds parsed configuration from MSX_STORE_KEY.

0 commit comments

Comments
 (0)