In engintest/evaluation.go, we've got
TestQuery
testQuery
TestQuery2 (-___-)
TestQueryWithEngine
TestQueryWithContext
testQueryWithContext
TestQueryWithIndexCheck
TestPreparedQuery
TestPreparedQueryWithEngine
TestPreparedQueryWithContext
These functions seem to do almost all the same things, with a few exceptions. They should really be collapsed into a single function or two and take some sort of flags or settings struct to indicate how they differ.
In
engintest/evaluation.go, we've gotTestQuerytestQueryTestQuery2(-___-)TestQueryWithEngineTestQueryWithContexttestQueryWithContextTestQueryWithIndexCheckTestPreparedQueryTestPreparedQueryWithEngineTestPreparedQueryWithContextThese functions seem to do almost all the same things, with a few exceptions. They should really be collapsed into a single function or two and take some sort of flags or settings struct to indicate how they differ.