@@ -12,7 +12,7 @@ fn matching_pairs() -> impl Iterator<Item = &'static (char, char)> {
1212 DEFAULT_PAIRS.iter().filter(|(open, close)| open == close)
1313}
1414
15−#[tokio::test]
15+#[tokio::test(flavor = "multi_thread")]
1616async fn insert_basic() -> anyhow::Result<()> {
1717 for pair in DEFAULT_PAIRS {
1818 test((
@@ -26,7 +26,7 @@ async fn insert_basic() -> anyhow::Result<()> {
2626 Ok(())
2727}
2828
29−#[tokio::test]
29+#[tokio::test(flavor = "multi_thread")]
3030async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
3131 // NOTE: these are multi-byte Unicode characters
3232 let pairs = hashmap!('„' => '“', '‚' => '‘', '「' => '」');
@@ -68,7 +68,7 @@ async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
6868 Ok(())
6969}
7070
71−#[tokio::test]
71+#[tokio::test(flavor = "multi_thread")]
7272async fn insert_after_word() -> anyhow::Result<()> {
7373 for pair in differing_pairs() {
7474 test((
@@ -91,7 +91,7 @@ async fn insert_after_word() -> anyhow::Result<()> {
9191 Ok(())
9292}
9393
94−#[tokio::test]
94+#[tokio::test(flavor = "multi_thread")]
9595async fn insert_before_word() -> anyhow::Result<()> {
9696 for pair in DEFAULT_PAIRS {
9797 test((
@@ -105,7 +105,7 @@ async fn insert_before_word() -> anyhow::Result<()> {
105105 Ok(())
106106}
107107
108−#[tokio::test]
108+#[tokio::test(flavor = "multi_thread")]
109109async fn insert_before_word_selection() -> anyhow::Result<()> {
110110 for pair in DEFAULT_PAIRS {
111111 test((
@@ -119,7 +119,7 @@ async fn insert_before_word_selection() -> anyhow::Result<()> {
119119 Ok(())
120120}
121121
122−#[tokio::test]
122+#[tokio::test(flavor = "multi_thread")]
123123async fn insert_before_word_selection_trailing_word() -> anyhow::Result<()> {
124124 for pair in differing_pairs() {
125125 test((
@@ -133,7 +133,7 @@ async fn insert_before_word_selection_trailing_word() -> anyhow::Result<()> {
133133 Ok(())
134134}
135135
136−#[tokio::test]
136+#[tokio::test(flavor = "multi_thread")]
137137async fn insert_closer_selection_trailing_word() -> anyhow::Result<()> {
138138 for pair in differing_pairs() {
139139 test((
@@ -147,7 +147,7 @@ async fn insert_closer_selection_trailing_word() -> anyhow::Result<()> {
147147 Ok(())
148148}
149149
150−#[tokio::test]
150+#[tokio::test(flavor = "multi_thread")]
151151async fn insert_before_eol() -> anyhow::Result<()> {
152152 for pair in DEFAULT_PAIRS {
153153 test((
@@ -166,7 +166,7 @@ async fn insert_before_eol() -> anyhow::Result<()> {
166166 Ok(())
167167}
168168
169−#[tokio::test]
169+#[tokio::test(flavor = "multi_thread")]
170170async fn insert_auto_pairs_disabled() -> anyhow::Result<()> {
171171 for pair in DEFAULT_PAIRS {
172172 test_with_config(
@@ -191,7 +191,7 @@ async fn insert_auto_pairs_disabled() -> anyhow::Result<()> {
191191 Ok(())
192192}
193193
194−#[tokio::test]
194+#[tokio::test(flavor = "multi_thread")]
195195async fn insert_multi_range() -> anyhow::Result<()> {
196196 for pair in DEFAULT_PAIRS {
197197 test((
@@ -210,7 +210,7 @@ async fn insert_multi_range() -> anyhow::Result<()> {
210210 Ok(())
211211}
212212
213−#[tokio::test]
213+#[tokio::test(flavor = "multi_thread")]
214214async fn insert_before_multi_code_point_graphemes() -> anyhow::Result<()> {
215215 for pair in differing_pairs() {
216216 test((
@@ -223,7 +223,7 @@ async fn insert_before_multi_code_point_graphemes() -> anyhow::Result<()> {
223223 Ok(())
224224}
225225
226−#[tokio::test]
226+#[tokio::test(flavor = "multi_thread")]
227227async fn insert_at_end_of_document() -> anyhow::Result<()> {
228228 for pair in DEFAULT_PAIRS {
229229 test(TestCase {
@@ -248,7 +248,7 @@ async fn insert_at_end_of_document() -> anyhow::Result<()> {
248248 Ok(())
249249}
250250
251−#[tokio::test]
251+#[tokio::test(flavor = "multi_thread")]
252252async fn insert_close_inside_pair() -> anyhow::Result<()> {
253253 for pair in DEFAULT_PAIRS {
254254 test((
@@ -272,7 +272,7 @@ async fn insert_close_inside_pair() -> anyhow::Result<()> {
272272 Ok(())
273273}
274274
275−#[tokio::test]
275+#[tokio::test(flavor = "multi_thread")]
276276async fn insert_close_inside_pair_multi() -> anyhow::Result<()> {
277277 for pair in DEFAULT_PAIRS {
278278 test((
@@ -296,7 +296,7 @@ async fn insert_close_inside_pair_multi() -> anyhow::Result<()> {
296296 Ok(())
297297}
298298
299−#[tokio::test]
299+#[tokio::test(flavor = "multi_thread")]
300300async fn insert_nested_open_inside_pair() -> anyhow::Result<()> {
301301 for pair in differing_pairs() {
302302 test((
@@ -320,7 +320,7 @@ async fn insert_nested_open_inside_pair() -> anyhow::Result<()> {
320320 Ok(())
321321}
322322
323−#[tokio::test]
323+#[tokio::test(flavor = "multi_thread")]
324324async fn insert_nested_open_inside_pair_multi() -> anyhow::Result<()> {
325325 for outer_pair in DEFAULT_PAIRS {
326326 for inner_pair in DEFAULT_PAIRS {
@@ -352,7 +352,7 @@ async fn insert_nested_open_inside_pair_multi() -> anyhow::Result<()> {
352352 Ok(())
353353}
354354
355−#[tokio::test]
355+#[tokio::test(flavor = "multi_thread")]
356356async fn append_basic() -> anyhow::Result<()> {
357357 for pair in DEFAULT_PAIRS {
358358 test((
@@ -371,7 +371,7 @@ async fn append_basic() -> anyhow::Result<()> {
371371 Ok(())
372372}
373373
374−#[tokio::test]
374+#[tokio::test(flavor = "multi_thread")]
375375async fn append_multi_range() -> anyhow::Result<()> {
376376 for pair in DEFAULT_PAIRS {
377377 test((
@@ -390,7 +390,7 @@ async fn append_multi_range() -> anyhow::Result<()> {
390390 Ok(())
391391}
392392
393−#[tokio::test]
393+#[tokio::test(flavor = "multi_thread")]
394394async fn append_close_inside_pair() -> anyhow::Result<()> {
395395 for pair in DEFAULT_PAIRS {
396396 test((
@@ -414,7 +414,7 @@ async fn append_close_inside_pair() -> anyhow::Result<()> {
414414 Ok(())
415415}
416416
417−#[tokio::test]
417+#[tokio::test(flavor = "multi_thread")]
418418async fn append_close_inside_pair_multi() -> anyhow::Result<()> {
419419 for pair in DEFAULT_PAIRS {
420420 test((
@@ -438,7 +438,7 @@ async fn append_close_inside_pair_multi() -> anyhow::Result<()> {
438438 Ok(())
439439}
440440
441−#[tokio::test]
441+#[tokio::test(flavor = "multi_thread")]
442442async fn append_end_of_word() -> anyhow::Result<()> {
443443 for pair in differing_pairs() {
444444 test((
@@ -457,7 +457,7 @@ async fn append_end_of_word() -> anyhow::Result<()> {
457457 Ok(())
458458}
459459
460−#[tokio::test]
460+#[tokio::test(flavor = "multi_thread")]
461461async fn append_middle_of_word() -> anyhow::Result<()> {
462462 for pair in differing_pairs() {
463463 test((
@@ -471,7 +471,7 @@ async fn append_middle_of_word() -> anyhow::Result<()> {
471471 Ok(())
472472}
473473
474−#[tokio::test]
474+#[tokio::test(flavor = "multi_thread")]
475475async fn append_end_of_word_multi() -> anyhow::Result<()> {
476476 for pair in differing_pairs() {
477477 test((
@@ -490,7 +490,7 @@ async fn append_end_of_word_multi() -> anyhow::Result<()> {
490490 Ok(())
491491}
492492
493−#[tokio::test]
493+#[tokio::test(flavor = "multi_thread")]
494494async fn append_inside_nested_pair() -> anyhow::Result<()> {
495495 for pair in differing_pairs() {
496496 test((
@@ -514,7 +514,7 @@ async fn append_inside_nested_pair() -> anyhow::Result<()> {
514514 Ok(())
515515}
516516
517−#[tokio::test]
517+#[tokio::test(flavor = "multi_thread")]
518518async fn append_inside_nested_pair_multi() -> anyhow::Result<()> {
519519 for outer_pair in DEFAULT_PAIRS {
520520 for inner_pair in DEFAULT_PAIRS {