Remove useless todos for tests
This commit is contained in:
@@ -59,7 +59,6 @@ func Test_RecordEncoding(t *testing.T) {
|
||||
structResult: `{"createdAt":"2017-09-09T17:00:00Z","deletedAt":null,"ownedBy":"12345","recordID":"12345"}` + "\n" +
|
||||
`{"createdAt":"1970-01-01T03:25:45Z","deletedAt":null,"fff":["1","2"],"foo":"bar","ownedBy":"12345","recordID":"54321"}` + "\n",
|
||||
},
|
||||
// TODO: Add test cases.
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
@@ -12,7 +12,6 @@ func TestModuleFieldOptions_Int64Def(t *testing.T) {
|
||||
def int64
|
||||
want int64
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
{"unexisting", ModuleFieldOptions{}, "k", 42, 42},
|
||||
{"nil", ModuleFieldOptions{"k": nil}, "k", 42, 42},
|
||||
{"bool", ModuleFieldOptions{"k": true}, "k", 42, 42},
|
||||
|
||||
@@ -10,7 +10,6 @@ func TestIsValid(t *testing.T) {
|
||||
handle string
|
||||
want bool
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
{"empty", "", true},
|
||||
{"alphanum", "a1", true},
|
||||
{"alpha", "abc", true},
|
||||
|
||||
@@ -356,7 +356,6 @@ func Test_auth_validateToken(t *testing.T) {
|
||||
wantID uint64
|
||||
wantCredentials string
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
{
|
||||
name: "empty",
|
||||
wantID: 0,
|
||||
|
||||
@@ -15,7 +15,6 @@ func Test_mailProcMessage(t *testing.T) {
|
||||
wantOut *MailMessage
|
||||
wantErr bool
|
||||
}{
|
||||
// TODO: Add test cases.
|
||||
{name: "basics",
|
||||
input: `
|
||||
From: <sender@testing.cortezaproject.org>
|
||||
|
||||
Reference in New Issue
Block a user