Repository: lucy Updated Branches: refs/heads/master 967088585 -> 2b7c19429
Correct Go test package name. Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/2b7c1942 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/2b7c1942 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/2b7c1942 Branch: refs/heads/master Commit: 2b7c194297dc87af6abd14338d885970926f206a Parents: 9670885 Author: Marvin Humphrey <[email protected]> Authored: Fri Jul 17 17:59:45 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Mon Jul 20 15:20:59 2015 -0700 ---------------------------------------------------------------------- go/lucy/lucy_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/2b7c1942/go/lucy/lucy_test.go ---------------------------------------------------------------------- diff --git a/go/lucy/lucy_test.go b/go/lucy/lucy_test.go index e436c2a..94e4f0a 100644 --- a/go/lucy/lucy_test.go +++ b/go/lucy/lucy_test.go @@ -14,18 +14,17 @@ * limitations under the License. */ -package lucy_test +package lucy -import "git-wip-us.apache.org/repos/asf/lucy.git/go/lucy" import "git-wip-us.apache.org/repos/asf/lucy-clownfish.git/runtime/go/clownfish" import "testing" func TestStuff(t *testing.T) { - lucy.NewSchema() + NewSchema() } func TestOpenIndexer(t *testing.T) { - _, err := lucy.OpenIndexer(&lucy.OpenIndexerArgs{Index: "notalucyindex"}) + _, err := OpenIndexer(&OpenIndexerArgs{Index: "notalucyindex"}) if _, ok := err.(clownfish.Err); !ok { t.Error("Didn't catch exception opening indexer") }
