Skip to content

Commit

Permalink
plan: move explan_test.go to plan package. (#3972)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanfei1991 authored Aug 1, 2017
1 parent 2745333 commit 289a906
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions executor/explain_test.go → plan/explain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,24 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package executor_test
package plan_test

import (
. "github.com/pingcap/check"
"github.com/pingcap/tidb/util/testkit"
"github.com/pingcap/tidb/util/testleak"
)

func (s *testSuite) TestExplain(c *C) {
tk := testkit.NewTestKit(c, s.store)
var _ = Suite(&testExplainSuite{})

type testExplainSuite struct {
}

func (s *testExplainSuite) TestExplain(c *C) {
store, err := newStoreWithBootstrap()
c.Assert(err, IsNil)
tk := testkit.NewTestKit(c, store)
defer func() {
s.cleanEnv(c)
testleak.AfterTest(c)()
tk.MustExec("set @@session.tidb_opt_insubquery_unfold = 0")
}()
Expand Down

0 comments on commit 289a906

Please sign in to comment.