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:42 -07:00
parent 7335e70eb7
commit f46c0a790e
5 changed files with 26 additions and 24 deletions
Generated
+1
View File
@@ -1635,6 +1635,7 @@ dependencies = [
name = "gpui_macros"
version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"syn",
]