Skip to content

Commit

Permalink
Add printf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
RincewindsHat committed Mar 20, 2023
1 parent 37ddb56 commit f8c39bc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions check_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"fmt"
"os"
"strconv"
"strings"
Expand Down Expand Up @@ -75,6 +76,8 @@ func TestConfig_Run_Basic(t *testing.T) {
c := buildEnvConfig(t, AuthBasic)
c.NoTls = true

fmt.Printf("%v\n", c)

runCheck(t, c)
}

Expand All @@ -89,6 +92,8 @@ func TestConfig_Run_Basic_WithTLS(t *testing.T) {
err := c.Validate()
assert.NoError(t, err)

fmt.Printf("%v\n", c)

runCheck(t, c)
}

Expand All @@ -103,6 +108,8 @@ func TestConfig_Run_NTLM(t *testing.T) {
err := c.Validate()
assert.NoError(t, err)

fmt.Printf("%v\n", c)

runCheck(t, c)
}

Expand All @@ -113,6 +120,8 @@ func TestConfig_Run_NTLM_WithTls(t *testing.T) {
err := c.Validate()
assert.NoError(t, err)

fmt.Printf("%v\n", c)

runCheck(t, c)
}

Expand All @@ -127,6 +136,8 @@ func TestConfig_Run_TLS(t *testing.T) {
err := c.Validate()
assert.NoError(t, err)

fmt.Printf("%v\n", c)

runCheck(t, c)
}

Expand Down

0 comments on commit f8c39bc

Please sign in to comment.