From 1d56631ea80b4d3f9711eb63bb4559926e5722dd Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Thu, 21 Apr 2016 22:44:51 -0700 Subject: [PATCH] tests/integration: Turn into valid, empty Go package. This describes the package in a way that can be seen via godoc, and makes it so that the following command succeeds without "no buildable Go source files" error: go build github.com/google/go-github/... --- tests/integration/authorizations_test.go | 2 ++ tests/integration/doc.go | 6 ++++++ tests/integration/github_test.go | 4 +--- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 tests/integration/doc.go diff --git a/tests/integration/authorizations_test.go b/tests/integration/authorizations_test.go index cc3a329..2ad934c 100644 --- a/tests/integration/authorizations_test.go +++ b/tests/integration/authorizations_test.go @@ -3,6 +3,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build integration + package tests import ( diff --git a/tests/integration/doc.go b/tests/integration/doc.go new file mode 100644 index 0000000..24a7ce9 --- /dev/null +++ b/tests/integration/doc.go @@ -0,0 +1,6 @@ +// Package tests contains integration tests. +// +// These tests call the live GitHub API, and therefore require a little more +// setup to run. See https://github.com/google/go-github/tree/master/tests/integration +// for more information. +package tests diff --git a/tests/integration/github_test.go b/tests/integration/github_test.go index 16e383f..7cdfd01 100644 --- a/tests/integration/github_test.go +++ b/tests/integration/github_test.go @@ -3,9 +3,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// These tests call the live GitHub API, and therefore require a little more -// setup to run. See https://github.com/google/go-github/tree/master/tests/integration -// for more information +// +build integration package tests