Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 committed Jul 31, 2023
1 parent 155a8f2 commit a4c075d
Show file tree
Hide file tree
Showing 2 changed files with 233 additions and 233 deletions.
4 changes: 2 additions & 2 deletions planner/core/casetest/rule/rule_result_reorder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ func runTestData(t *testing.T, tk *testkit.TestKit, name string) {
require.Equal(t, len(input), len(output))
for i := range input {
testdata.OnRecord(func() {
output[i].Plan = testdata.ConvertRowsToStrings(tk.MustQuery("explain " + input[i]).Rows())
output[i].Plan = testdata.ConvertRowsToStrings(tk.MustQuery("explain FORMAT='brief' " + input[i]).Rows())
})
tk.MustQuery("explain " + input[i]).Check(testkit.Rows(output[i].Plan...))
tk.MustQuery("explain FORMAT='brief' " + input[i]).Check(testkit.Rows(output[i].Plan...))
}
}

Expand Down
Loading

0 comments on commit a4c075d

Please sign in to comment.