git » spf » commit a683815

tests: Remove older, commented-out code

author Alberto Bertogli
2019-10-18 19:45:23 UTC
committer Alberto Bertogli
2019-10-18 19:45:39 UTC
parent bd2e48fd122c2050be7822c789a47891e760dc0f

tests: Remove older, commented-out code

These are leftovers from in-progress code that were accidentally left
commented out, so remove them.

yml_test.go +0 -3

diff --git a/yml_test.go b/yml_test.go
index ac80ce1..8f22d16 100644
--- a/yml_test.go
+++ b/yml_test.go
@@ -127,8 +127,6 @@ func (mx *MX) UnmarshalYAML(unmarshal func(interface{}) error) error {
 //
 
 func testRFC(t *testing.T, fname string) {
-
-	//data, err := ioutil.ReadFile(fname)
 	input, err := os.Open(fname)
 	if err != nil {
 		t.Fatal(err)
@@ -142,7 +140,6 @@ func testRFC(t *testing.T, fname string) {
 		if err == io.EOF {
 			break
 		}
-		//err = yaml.Unmarshal(data, suites)
 		if err != nil {
 			t.Fatal(err)
 		}