diff options
author | Ivan Tham | 2023-01-21 18:13:43 +0000 |
---|---|---|
committer | GitHub | 2023-01-21 18:13:43 +0000 |
commit | a20a96abdcfbea3b3eb890bfc266850938434a90 (patch) | |
tree | df1300dfc07f671c11abb195a62ba3f20ea510c6 /helix-term/tests | |
parent | 68fc10903aad7b5dbb5b8be4ee17343e1a1b8f6c (diff) |
Remove apply_transaction helper (#5598)
Diffstat (limited to 'helix-term/tests')
-rw-r--r-- | helix-term/tests/test/helpers.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/tests/test/helpers.rs b/helix-term/tests/test/helpers.rs index 2c5043d6..a0f3a32e 100644 --- a/helix-term/tests/test/helpers.rs +++ b/helix-term/tests/test/helpers.rs @@ -130,7 +130,7 @@ pub async fn test_key_sequence_with_input_text<T: Into<TestCase>>( }) .with_selection(test_case.in_selection.clone()); - helix_view::apply_transaction(&transaction, doc, view); + doc.apply(&transaction, view.id); test_key_sequence( &mut app, @@ -315,7 +315,7 @@ impl AppBuilder { .with_selection(selection); // replace the initial text with the input text - helix_view::apply_transaction(&trans, doc, view); + doc.apply(&trans, view.id); } Ok(app) |