Crap absolute paths to public dont work
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"io/ioutil"
|
||||
"local/notes-server/config"
|
||||
"local/notes-server/server"
|
||||
"log"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
@@ -17,6 +18,7 @@ import (
|
||||
func TestAll(t *testing.T) {
|
||||
makeFiles(t)
|
||||
defer os.RemoveAll(config.Root)
|
||||
log.Println(config.Root)
|
||||
s := makeServer(t)
|
||||
defer s.Close()
|
||||
testServer(t, s.URL)
|
||||
|
||||
Reference in New Issue
Block a user