Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Feb 10, 2025
1 parent 465cfaf commit f9c741c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions e2e/sedge/jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const (
func TestE2E_Generate_JWTSecret_RelativePath(t *testing.T) {
// Test context
var (
runErr error
runErr error
jwtPath = "custom/path/jwtsecret"
)

Expand Down Expand Up @@ -67,7 +67,7 @@ func TestE2E_Generate_JWTSecret_RelativePath(t *testing.T) {
fullJWTPath := filepath.Join(dataDirPath, jwtPath)
_, err := os.Stat(fullJWTPath)
assert.NoError(t, err, "JWT secret file should exist at relative path")

// Verify the JWT secret content
content, err := os.ReadFile(fullJWTPath)
assert.NoError(t, err)
Expand All @@ -80,7 +80,7 @@ func TestE2E_Generate_JWTSecret_RelativePath(t *testing.T) {
func TestE2E_Generate_JWTSecret_AbsolutePath(t *testing.T) {
// Test context
var (
runErr error
runErr error
tempJWTDir string
)

Expand All @@ -107,7 +107,7 @@ func TestE2E_Generate_JWTSecret_AbsolutePath(t *testing.T) {
jwtPath := filepath.Join(tempJWTDir, "jwtsecret")
_, err := os.Stat(jwtPath)
assert.NoError(t, err, "JWT secret file should exist at absolute path")

// Verify the JWT secret content
content, err := os.ReadFile(jwtPath)
assert.NoError(t, err)
Expand Down Expand Up @@ -139,7 +139,7 @@ func TestE2E_Generate_JWTSecret_DefaultPath(t *testing.T) {
defaultJWTPath := filepath.Join(dataDirPath, "jwtsecret")
_, err := os.Stat(defaultJWTPath)
assert.NoError(t, err, "JWT secret file should exist at default path")

// Read the file to ensure it's not empty
content, err := os.ReadFile(defaultJWTPath)
assert.NoError(t, err)
Expand Down

0 comments on commit f9c741c

Please sign in to comment.