Skip to content

search: factor out tests in search_results_tests.go

Administrator requested to merge rvt/move-zoekt-tests into master

Created by: rvantonder

Just moving things around. Makes search_results_tests.go less of a dumping ground for all search tests.

  • Moves Zoekt-specific test and helpers into zoekt_test.go which didn't exist before. There was some comment long ago about how this doesn't exist but should.
  • Moves a structural search test out
  • Adds _ convention for applicable test names.

By the way this and-query was useful to see the relative ordering of helper functions and test to preserve after I copied things over to zoekt_test.go and jumbled things up.

Merge request reports

Loading