From 78948f1b7f9411bfdaa879cfd6e08c2a581024dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Sat, 12 Jul 2014 13:32:53 +0300 Subject: [PATCH] Fix couple cosmetic typos --- main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_test.go b/main_test.go index 24e01181..018324da 100644 --- a/main_test.go +++ b/main_test.go @@ -141,7 +141,7 @@ type Product struct { type Animal struct { Counter int64 `primaryKey:"yes"` Name string - From string //test reserverd sql keyword as field name + From string //test reserved sql keyword as field name CreatedAt time.Time UpdatedAt time.Time } @@ -1103,7 +1103,7 @@ func TestUpdate(t *testing.T) { } if db.First(&Animal{}, "name = 'Ferdinand'").Error == nil { - t.Errorf("Animal 'Fredinand' should be changed to 'Franz'") + t.Errorf("Animal 'Ferdinand' should be changed to 'Franz'") } if db.First(&Animal{}, "name = 'Robert'").Error != nil {