contentserver/server/repo/repo_test.go
2013-08-23 15:01:19 +02:00

21 lines
290 B
Go

package repo
import (
"fmt"
"testing"
)
func BenchmarkHello(b *testing.B) {
for i := 0; i < b.N; i++ {
fmt.Sprintf("hello")
}
}
func TestTimeConsuming(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
} else {
t.Error("that sukked", "hard", 1)
}
}