Switch tests to run on LocalIndex
Summary:
Fix remaining issues preventing tests from being moved to LocalIndex mode.
* Autocomplete results are being sorted in the wrong order! I was using dedup_and_sort backwards. That had caused "Foo2" to appear before "Foo" in the results. Fixed by switching the order of parameters to dedup_and_sort. This required updating a decent number of assertions.
* Namespace searching no longer returns full namespace plus names in the results. We now only autocomplete the untyped portion of your string. For example, in the past, we used to autocomplete "HH\Lib\Str\jAUTO332" with "HH\Lib\Str\join"; but now we only report "join". This involved updating a few more assertions.
* Files that are being currently edited need to be updated by the local search index.
Reviewed By: 2BitSalute
Differential Revision:
D17286559
fbshipit-source-id:
4872127989f98fd4e0dd2a3a9da83a9b68e5a58b