Fix tests by providing close: true

This commit is contained in:
Nathan Sobo 2022-10-10 15:29:24 -06:00
parent 3ae96f2c6e
commit 425e540c9a

View file

@ -3039,16 +3039,19 @@ async fn test_autoclose_with_embedded_language(cx: &mut gpui::TestAppContext) {
BracketPair { BracketPair {
start: "<".into(), start: "<".into(),
end: ">".into(), end: ">".into(),
close: true,
..Default::default() ..Default::default()
}, },
BracketPair { BracketPair {
start: "{".into(), start: "{".into(),
end: "}".into(), end: "}".into(),
close: true,
..Default::default() ..Default::default()
}, },
BracketPair { BracketPair {
start: "(".into(), start: "(".into(),
end: ")".into(), end: ")".into(),
close: true,
..Default::default() ..Default::default()
}, },
], ],
@ -3074,16 +3077,19 @@ async fn test_autoclose_with_embedded_language(cx: &mut gpui::TestAppContext) {
BracketPair { BracketPair {
start: "/*".into(), start: "/*".into(),
end: " */".into(), end: " */".into(),
close: true,
..Default::default() ..Default::default()
}, },
BracketPair { BracketPair {
start: "{".into(), start: "{".into(),
end: "}".into(), end: "}".into(),
close: true,
..Default::default() ..Default::default()
}, },
BracketPair { BracketPair {
start: "(".into(), start: "(".into(),
end: ")".into(), end: ")".into(),
close: true,
..Default::default() ..Default::default()
}, },
], ],