Commit 16bd63fc authored by Zac Bergquist's avatar Zac Bergquist

Removed my debug prints

parent e158cda0
......@@ -87,7 +87,6 @@ var (
)
func GetHtpasswdMatcher(filename, username, siteRoot string) (PasswordMatcher, error) {
fmt.Printf("ZBZB joining '%s' and '%s' and trying to open\n", siteRoot, filename)
filename = filepath.Join(siteRoot, filename)
htpasswordsMu.Lock()
if htpasswords == nil {
......
package middleware
import (
"fmt"
"net/http"
"testing"
)
......@@ -26,7 +25,6 @@ func TestIndexfile(t *testing.T) {
}
for i, test := range tests {
actualFilePath, actualBoolValue := IndexFile(test.rootDir, test.fpath, test.indexFiles)
fmt.Println("ZBZB IndexFile returned", actualFilePath, ",", actualBoolValue)
if actualBoolValue == true && test.shouldErr {
t.Errorf("Test %d didn't error, but it should have", i)
} else if actualBoolValue != true && !test.shouldErr {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment