Improve support for gpui tests that need multiple contexts

If a test function takes multiple contexts, pass it however many
distinct contexts are needed. Construct each one with a different
starting entity id so that they do not share any entity ids.
This commit is contained in:
Max Brunsfeld 2021-07-07 17:18:39 -07:00
parent 7335e70eb7
commit f46c0a790e
5 changed files with 26 additions and 24 deletions

View file

@ -9,3 +9,4 @@ proc-macro = true
[dependencies]
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"