tests embody current bugs with duplicate names
Summary:
ClientIdeIncremental and Naming_provider are currently buggy: they don't handle duplicate names. Scenario:
1. file1.php declares symbol Foo
2. I copy file1.php to file2.php. Now the symbol Foo is defined twice.
3. I delete file1.php. Now the symbol Foo should be defined only in file2.php
The bug is that, after step 3, we currently say that the symbol Foo isn't declared at all.
I'm writing these tests now to embody the current buggy behavior. That way, when I fix it, we'll see the tests work properly.
Reviewed By: arxanas
Differential Revision:
D21367492
fbshipit-source-id:
e9ebddee455032eb705f3596b3850d6f69c1cc3a