Empty tests should be skipped

This commit is contained in:
Deluan
2016-03-01 12:43:55 -05:00
parent 2bb4c74ba6
commit 54460d5860
3 changed files with 18 additions and 9 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
package scanner
import "testing"
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestEmpty(t *testing.T) {
Convey("Missing tests", t, nil)
}
-7
View File
@@ -1,7 +0,0 @@
package utils
import "testing"
func TestEmpty(t *testing.T) {
}
+12
View File
@@ -0,0 +1,12 @@
package utils
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestEmpty(t *testing.T) {
Convey("Missing tests", t, nil)
}