From 6ef2a539bd431586e3db33e87cd1dd709e03b003 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Thu, 16 Jun 2016 18:17:56 +0800 Subject: [PATCH] Fix test --- callback_query_preload.go | 1 - 1 file changed, 1 deletion(-) diff --git a/callback_query_preload.go b/callback_query_preload.go index b8077ce5..c71ab4c2 100644 --- a/callback_query_preload.go +++ b/callback_query_preload.go @@ -141,7 +141,6 @@ func (scope *Scope) handleHasOnePreload(field *Field, conditions []interface{}) for i := 0; i < resultsValue.Len(); i++ { result := resultsValue.Index(i) scope.Err(field.Set(result)) - break } } }