Added panic functions

* Fixed linter errors
* Added lots of missing comments
* Fixed broken boil tests
* Skipped unfinished functions instead of error
This commit is contained in:
Patrick O'brien 2016-07-16 21:22:57 +10:00
parent a559738d59
commit f45d137f5f
12 changed files with 228 additions and 5 deletions

View file

@ -304,7 +304,7 @@ func TestSelectNames(t *testing.T) {
}
result := SelectNames(o)
if result != `id, TestHello, head_size` {
if result != `"id", "TestHello", "head_size"` {
t.Error("Result was wrong, got:", result)
}
}
@ -320,7 +320,7 @@ func TestWhereClause(t *testing.T) {
result := WhereClause(columns)
if result != `id=$1 AND name=$2 AND date=$3` {
if result != `"id"=$1 AND "name"=$2 AND "date"=$3` {
t.Error("Result was wrong, got:", result)
}
}