From a02c1490a31bded2611f3832662153f2f933aabb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <jose.carlos@menteslibres.net>
Date: Sat, 6 Jun 2015 06:20:09 -0500
Subject: [PATCH] Removing unused test.

---
 postgresql/database_test.go | 34 +---------------------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

diff --git a/postgresql/database_test.go b/postgresql/database_test.go
index 97e41f48..1dc7c3ca 100644
--- a/postgresql/database_test.go
+++ b/postgresql/database_test.go
@@ -496,38 +496,6 @@ func TestResultFetch(t *testing.T) {
 
 	res.Close()
 
-	// NOTE: tags are required.. unless a different type mapper
-	// is specified..
-
-	// Dumping into an struct with no tags.
-	// rowStruct := struct {
-	// 	ID   uint64 `db:"id,omitempty"`
-	// 	Name string `db:"name"`
-	// }{}
-
-	// res = artist.Find()
-
-	// for {
-	// 	err = res.Next(&rowStruct)
-
-	// 	if err == db.ErrNoMoreRows {
-	// 		break
-	// 	}
-
-	// 	if err == nil {
-	// 		if rowStruct.ID == 0 {
-	// 			t.Fatalf("Expecting a not null ID.")
-	// 		}
-	// 		if rowStruct.Name == "" {
-	// 			t.Fatalf("Expecting a name.")
-	// 		}
-	// 	} else {
-	// 		t.Fatal(err)
-	// 	}
-	// }
-
-	// res.Close()
-
 	// Dumping into a tagged struct.
 	rowStruct2 := struct {
 		Value1 uint64 `db:"id"`
@@ -557,7 +525,7 @@ func TestResultFetch(t *testing.T) {
 
 	res.Close()
 
-	// Dumping into an slice of maps.
+	// Dumping into a slice of maps.
 	allRowsMap := []map[string]interface{}{}
 
 	res = artist.Find()
-- 
GitLab