Minimize code generation for synchronous gpui::test macro

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-10-05 17:47:46 +02:00
parent 7a05461c50
commit 9c7ef39da6
5 changed files with 94 additions and 71 deletions

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2018"
[features]
test-support = ["buffer/test-support"]
test-support = ["buffer/test-support", "gpui/test-support"]
[dependencies]
buffer = { path = "../buffer" }
@ -23,6 +23,7 @@ smol = "1.2"
[dev-dependencies]
buffer = { path = "../buffer", features = ["test-support"] }
gpui = { path = "../gpui", features = ["test-support"] }
rand = "0.8"
unindent = "0.1.7"
tree-sitter = "0.19"