Files
revel-cmd/revel/run_test.go
Paul Tötterman 3d924a016b Lint fixes
2020-10-19 13:40:52 +03:00

23 lines
333 B
Go

package main_test
import (
"os"
"testing"
"github.com/stretchr/testify/assert"
)
// test the commands.
func TestRun(t *testing.T) {
a := assert.New(t)
gopath := setup("revel-test-run", a)
// TODO Testing run
if !t.Failed() {
if err := os.RemoveAll(gopath); err != nil {
a.Fail("Failed to remove test path")
}
}
}