diff options
| -rw-r--r-- | src/lib/testing.go | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/lib/testing.go b/src/lib/testing.go index a5d960fe8..53a2c19d1 100644 --- a/src/lib/testing.go +++ b/src/lib/testing.go @@ -21,6 +21,11 @@ export type Test struct {  export func Main(tests *[]Test) {  	flag.Parse();  	ok := true; +	if len(tests) == 0 { +		println("warning: no tests available"); +	} else if chatty { +		println(len(tests), "tests to run"); +	}  	for i := 0; i < len(tests); i++ {  		if chatty {  			println("=== RUN ", tests[i].name); | 
