Skip to content

Commit 2fa0640

Browse files
author
James Cor
committed
clean up
1 parent d0724a0 commit 2fa0640

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

enginetest/evaluation.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ func TestScriptWithEngine(t *testing.T, e QueryEngine, harness Harness, script q
145145
TestQueryWithContext(t, ctx, e, harness, assertion.Query, expected, assertion.ExpectedColumns, assertion.Bindings, nil)
146146
}
147147

148-
// TODO: remove these?
149148
if assertion.ExpectedIndexes != nil && !IsServerEngine(e) {
150149
evalIndexTest(t, harness, e, assertion.Query, assertion.ExpectedIndexes, assertion.Skip)
151150
}
@@ -155,8 +154,7 @@ func TestScriptWithEngine(t *testing.T, e QueryEngine, harness Harness, script q
155154

156155
if assertion.ExpectedPlan != "" && !IsServerEngine(e) {
157156
options := sql.DescribeOptions{
158-
Estimates: true,
159-
Analyze: true,
157+
Debug: true,
160158
}
161159
TestQueryPlanWithName(t, options.String(), harness, e, assertion.Query, assertion.ExpectedPlan, options)
162160
}

0 commit comments

Comments
 (0)