1 package tester 2 3 import ( 4 "testing" 5 ) 6 7 func TestSimple(t *testing.T) { 8 value := GoverallsTester() 9 expected := "hello world" 10 if value != expected { 11 t.Fatalf("Expected %v, but %v:", value, expected) 12 } 13 } 14
View as plain text