This commit is contained in:
Mark Bates 2019-11-21 09:02:05 -05:00
parent e611253b7b
commit ddc055cac4
3 changed files with 2 additions and 3 deletions

View File

@ -20,6 +20,5 @@ jobs:
- name: Test - name: Test
run: | run: |
go get github.com/gobuffalo/buffalo
go mod tidy -v go mod tidy -v
go test -v -race ./... go test -v -race ./...

View File

@ -69,7 +69,7 @@ func Test_Parser_Ref_Include(t *testing.T) {
_, err = pkgtest.LoadFiles("/", ref, disk) _, err = pkgtest.LoadFiles("/", ref, disk)
r.NoError(err) r.NoError(err)
res, err := Parse(ref.Info, "github.com/gobuffalo/buffalo:/app.go") res, err := Parse(ref.Info, "github.com/stretchr/testify:/go.mod")
r.NoError(err) r.NoError(err)

View File

@ -7,7 +7,7 @@ import (
) )
func Serve() { func Serve() {
pkger.Stat("github.com/gobuffalo/buffalo:/logo.svg") pkger.Stat("github.com/stretchr/testify:/README.md")
dir := http.FileServer(pkger.Dir("/public")) dir := http.FileServer(pkger.Dir("/public"))
http.ListenAndServe(":3000", dir) http.ListenAndServe(":3000", dir)
} }