Procházet zdrojové kódy

remove _Z_ from test names

Blake Mizerany před 11 roky
rodič
revize
d6e798ca68
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      z_spec_test.go

+ 3 - 3
z_spec_test.go

@@ -145,7 +145,7 @@ func parseSentences(sens string) []string {
 	return ss
 }
 
-func Test_Z_Spec_ParseSentences(t *testing.T) {
+func TestSpecParseSentences(t *testing.T) {
 	tests := []struct {
 		ss   string
 		want []string
@@ -171,7 +171,7 @@ func Test_Z_Spec_ParseSentences(t *testing.T) {
 	}
 }
 
-func Test_Z_BuildCoverageTable(t *testing.T) {
+func TestSpecBuildCoverageTable(t *testing.T) {
 	testdata := `
 <rfc>
   <middle>
@@ -204,7 +204,7 @@ func Test_Z_BuildCoverageTable(t *testing.T) {
 	}
 }
 
-func Test_Z_SpecUncovered(t *testing.T) {
+func TestSpecUncovered(t *testing.T) {
 	testdata := `
 <rfc>
   <middle>