@@ -12,7 +12,7 @@ fn matching_pairs() -> impl Iterator<Item = &'static (char, char)> {
12 DEFAULT_PAIRS.iter().filter(|(open, close)| open == close)
12 DEFAULT_PAIRS.iter().filter(|(open, close)| open == close)
15−#[tokio::test]
15+#[tokio::test(flavor = "multi_thread")]
16async fn insert_basic() -> anyhow::Result<()> {
16async fn insert_basic() -> anyhow::Result<()> {
17 for pair in DEFAULT_PAIRS {
17 for pair in DEFAULT_PAIRS {
@@ -26,7 +26,7 @@ async fn insert_basic() -> anyhow::Result<()> {
29−#[tokio::test]
29+#[tokio::test(flavor = "multi_thread")]
30async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
30async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
31 // NOTE: these are multi-byte Unicode characters
31 // NOTE: these are multi-byte Unicode characters
32 let pairs = hashmap!('„' => '“', '‚' => '‘', '「' => '」');
32 let pairs = hashmap!('„' => '“', '‚' => '‘', '「' => '」');
@@ -68,7 +68,7 @@ async fn insert_configured_multi_byte_chars() -> anyhow::Result<()> {
71−#[tokio::test]
71+#[tokio::test(flavor = "multi_thread")]
72async fn insert_after_word() -> anyhow::Result<()> {
72async fn insert_after_word() -> anyhow::Result<()> {
73 for pair in differing_pairs() {
73 for pair in differing_pairs() {
@@ -91,7 +91,7 @@ async fn insert_after_word() -> anyhow::Result<()> {
94−#[tokio::test]
94+#[tokio::test(flavor = "multi_thread")]
95async fn insert_before_word() -> anyhow::Result<()> {
95async fn insert_before_word() -> anyhow::Result<()> {
96 for pair in DEFAULT_PAIRS {
96 for pair in DEFAULT_PAIRS {
@@ -105,7 +105,7 @@ async fn insert_before_word() -> anyhow::Result<()> {
108−#[tokio::test]
108+#[tokio::test(flavor = "multi_thread")]
109async fn insert_before_word_selection() -> anyhow::Result<()> {
109async fn insert_before_word_selection() -> anyhow::Result<()> {
110 for pair in DEFAULT_PAIRS {
110 for pair in DEFAULT_PAIRS {
@@ -119,7 +119,7 @@ async fn insert_before_word_selection() -> anyhow::Result<()> {
122−#[tokio::test]
122+#[tokio::test(flavor = "multi_thread")]
123async fn insert_before_word_selection_trailing_word() -> anyhow::Result<()> {
123async fn insert_before_word_selection_trailing_word() -> anyhow::Result<()> {
124 for pair in differing_pairs() {
124 for pair in differing_pairs() {
@@ -133,7 +133,7 @@ async fn insert_before_word_selection_trailing_word() -> anyhow::Result<()> {
136−#[tokio::test]
136+#[tokio::test(flavor = "multi_thread")]
137async fn insert_closer_selection_trailing_word() -> anyhow::Result<()> {
137async fn insert_closer_selection_trailing_word() -> anyhow::Result<()> {
138 for pair in differing_pairs() {
138 for pair in differing_pairs() {
@@ -147,7 +147,7 @@ async fn insert_closer_selection_trailing_word() -> anyhow::Result<()> {
150−#[tokio::test]
150+#[tokio::test(flavor = "multi_thread")]
151async fn insert_before_eol() -> anyhow::Result<()> {
151async fn insert_before_eol() -> anyhow::Result<()> {
152 for pair in DEFAULT_PAIRS {
152 for pair in DEFAULT_PAIRS {
@@ -166,7 +166,7 @@ async fn insert_before_eol() -> anyhow::Result<()> {
169−#[tokio::test]
169+#[tokio::test(flavor = "multi_thread")]
170async fn insert_auto_pairs_disabled() -> anyhow::Result<()> {
170async fn insert_auto_pairs_disabled() -> anyhow::Result<()> {
171 for pair in DEFAULT_PAIRS {
171 for pair in DEFAULT_PAIRS {
172 test_with_config(
172 test_with_config(
@@ -191,7 +191,7 @@ async fn insert_auto_pairs_disabled() -> anyhow::Result<()> {
194−#[tokio::test]
194+#[tokio::test(flavor = "multi_thread")]
195async fn insert_multi_range() -> anyhow::Result<()> {
195async fn insert_multi_range() -> anyhow::Result<()> {
196 for pair in DEFAULT_PAIRS {
196 for pair in DEFAULT_PAIRS {
@@ -210,7 +210,7 @@ async fn insert_multi_range() -> anyhow::Result<()> {
213−#[tokio::test]
213+#[tokio::test(flavor = "multi_thread")]
214async fn insert_before_multi_code_point_graphemes() -> anyhow::Result<()> {
214async fn insert_before_multi_code_point_graphemes() -> anyhow::Result<()> {
215 for pair in differing_pairs() {
215 for pair in differing_pairs() {
@@ -223,7 +223,7 @@ async fn insert_before_multi_code_point_graphemes() -> anyhow::Result<()> {
226−#[tokio::test]
226+#[tokio::test(flavor = "multi_thread")]
227async fn insert_at_end_of_document() -> anyhow::Result<()> {
227async fn insert_at_end_of_document() -> anyhow::Result<()> {
228 for pair in DEFAULT_PAIRS {
228 for pair in DEFAULT_PAIRS {
229 test(TestCase {
229 test(TestCase {
@@ -248,7 +248,7 @@ async fn insert_at_end_of_document() -> anyhow::Result<()> {
251−#[tokio::test]
251+#[tokio::test(flavor = "multi_thread")]
252async fn insert_close_inside_pair() -> anyhow::Result<()> {
252async fn insert_close_inside_pair() -> anyhow::Result<()> {
253 for pair in DEFAULT_PAIRS {
253 for pair in DEFAULT_PAIRS {
@@ -272,7 +272,7 @@ async fn insert_close_inside_pair() -> anyhow::Result<()> {
275−#[tokio::test]
275+#[tokio::test(flavor = "multi_thread")]
276async fn insert_close_inside_pair_multi() -> anyhow::Result<()> {
276async fn insert_close_inside_pair_multi() -> anyhow::Result<()> {
277 for pair in DEFAULT_PAIRS {
277 for pair in DEFAULT_PAIRS {
@@ -296,7 +296,7 @@ async fn insert_close_inside_pair_multi() -> anyhow::Result<()> {
299−#[tokio::test]
299+#[tokio::test(flavor = "multi_thread")]
300async fn insert_nested_open_inside_pair() -> anyhow::Result<()> {
300async fn insert_nested_open_inside_pair() -> anyhow::Result<()> {
301 for pair in differing_pairs() {
301 for pair in differing_pairs() {
@@ -320,7 +320,7 @@ async fn insert_nested_open_inside_pair() -> anyhow::Result<()> {
323−#[tokio::test]
323+#[tokio::test(flavor = "multi_thread")]
324async fn insert_nested_open_inside_pair_multi() -> anyhow::Result<()> {
324async fn insert_nested_open_inside_pair_multi() -> anyhow::Result<()> {
325 for outer_pair in DEFAULT_PAIRS {
325 for outer_pair in DEFAULT_PAIRS {
326 for inner_pair in DEFAULT_PAIRS {
326 for inner_pair in DEFAULT_PAIRS {
@@ -352,7 +352,7 @@ async fn insert_nested_open_inside_pair_multi() -> anyhow::Result<()> {
355−#[tokio::test]
355+#[tokio::test(flavor = "multi_thread")]
356async fn append_basic() -> anyhow::Result<()> {
356async fn append_basic() -> anyhow::Result<()> {
357 for pair in DEFAULT_PAIRS {
357 for pair in DEFAULT_PAIRS {
@@ -371,7 +371,7 @@ async fn append_basic() -> anyhow::Result<()> {
374−#[tokio::test]
374+#[tokio::test(flavor = "multi_thread")]
375async fn append_multi_range() -> anyhow::Result<()> {
375async fn append_multi_range() -> anyhow::Result<()> {
376 for pair in DEFAULT_PAIRS {
376 for pair in DEFAULT_PAIRS {
@@ -390,7 +390,7 @@ async fn append_multi_range() -> anyhow::Result<()> {
393−#[tokio::test]
393+#[tokio::test(flavor = "multi_thread")]
394async fn append_close_inside_pair() -> anyhow::Result<()> {
394async fn append_close_inside_pair() -> anyhow::Result<()> {
395 for pair in DEFAULT_PAIRS {
395 for pair in DEFAULT_PAIRS {
@@ -414,7 +414,7 @@ async fn append_close_inside_pair() -> anyhow::Result<()> {
417−#[tokio::test]
417+#[tokio::test(flavor = "multi_thread")]
418async fn append_close_inside_pair_multi() -> anyhow::Result<()> {
418async fn append_close_inside_pair_multi() -> anyhow::Result<()> {
419 for pair in DEFAULT_PAIRS {
419 for pair in DEFAULT_PAIRS {
@@ -438,7 +438,7 @@ async fn append_close_inside_pair_multi() -> anyhow::Result<()> {
441−#[tokio::test]
441+#[tokio::test(flavor = "multi_thread")]
442async fn append_end_of_word() -> anyhow::Result<()> {
442async fn append_end_of_word() -> anyhow::Result<()> {
443 for pair in differing_pairs() {
443 for pair in differing_pairs() {
@@ -457,7 +457,7 @@ async fn append_end_of_word() -> anyhow::Result<()> {
460−#[tokio::test]
460+#[tokio::test(flavor = "multi_thread")]
461async fn append_middle_of_word() -> anyhow::Result<()> {
461async fn append_middle_of_word() -> anyhow::Result<()> {
462 for pair in differing_pairs() {
462 for pair in differing_pairs() {
@@ -471,7 +471,7 @@ async fn append_middle_of_word() -> anyhow::Result<()> {
474−#[tokio::test]
474+#[tokio::test(flavor = "multi_thread")]
475async fn append_end_of_word_multi() -> anyhow::Result<()> {
475async fn append_end_of_word_multi() -> anyhow::Result<()> {
476 for pair in differing_pairs() {
476 for pair in differing_pairs() {
@@ -490,7 +490,7 @@ async fn append_end_of_word_multi() -> anyhow::Result<()> {
493−#[tokio::test]
493+#[tokio::test(flavor = "multi_thread")]
494async fn append_inside_nested_pair() -> anyhow::Result<()> {
494async fn append_inside_nested_pair() -> anyhow::Result<()> {
495 for pair in differing_pairs() {
495 for pair in differing_pairs() {
@@ -514,7 +514,7 @@ async fn append_inside_nested_pair() -> anyhow::Result<()> {
517−#[tokio::test]
517+#[tokio::test(flavor = "multi_thread")]
518async fn append_inside_nested_pair_multi() -> anyhow::Result<()> {
518async fn append_inside_nested_pair_multi() -> anyhow::Result<()> {
519 for outer_pair in DEFAULT_PAIRS {
519 for outer_pair in DEFAULT_PAIRS {
520 for inner_pair in DEFAULT_PAIRS {
520 for inner_pair in DEFAULT_PAIRS {