mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
Fix tests by providing close: true
This commit is contained in:
parent
3ae96f2c6e
commit
425e540c9a
1 changed files with 6 additions and 0 deletions
|
@ -3039,16 +3039,19 @@ async fn test_autoclose_with_embedded_language(cx: &mut gpui::TestAppContext) {
|
|||
BracketPair {
|
||||
start: "<".into(),
|
||||
end: ">".into(),
|
||||
close: true,
|
||||
..Default::default()
|
||||
},
|
||||
BracketPair {
|
||||
start: "{".into(),
|
||||
end: "}".into(),
|
||||
close: true,
|
||||
..Default::default()
|
||||
},
|
||||
BracketPair {
|
||||
start: "(".into(),
|
||||
end: ")".into(),
|
||||
close: true,
|
||||
..Default::default()
|
||||
},
|
||||
],
|
||||
|
@ -3074,16 +3077,19 @@ async fn test_autoclose_with_embedded_language(cx: &mut gpui::TestAppContext) {
|
|||
BracketPair {
|
||||
start: "/*".into(),
|
||||
end: " */".into(),
|
||||
close: true,
|
||||
..Default::default()
|
||||
},
|
||||
BracketPair {
|
||||
start: "{".into(),
|
||||
end: "}".into(),
|
||||
close: true,
|
||||
..Default::default()
|
||||
},
|
||||
BracketPair {
|
||||
start: "(".into(),
|
||||
end: ")".into(),
|
||||
close: true,
|
||||
..Default::default()
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue