diff --git a/sqlx_test.go b/sqlx_test.go
index <HASH>..<HASH> 100644
--- a/sqlx_test.go
+++ b/sqlx_test.go
@@ -358,6 +358,12 @@ func TestUsage(t *testing.T) {
 			}
 
 		}
+		// ensure that Get does not panic on emppty result set
+		person := &Person{}
+		err = db.Get(person, "SELECT * FROM person WHERE first_name=$1", "does-not-exist")
+		if err == nil {
+			t.Fatal("Should have got an error for Get on non-existant row.")
+		}
 
 	}
add a false alarm test to make sure that a Get on an empty result returns an error