From a970015f4e2164d78f76c27ead2ea5fb60d14055 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Tue, 23 Nov 2021 00:37:42 -0500 Subject: [PATCH] wip: add unit tests for auto_pairs fixes #992 and #1014 --- helix-core/src/auto_pairs.rs | 19 +++++++++++++++++++ helix-core/src/transaction.rs | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/helix-core/src/auto_pairs.rs b/helix-core/src/auto_pairs.rs index cc9668529a6d9..abbbdb8f5e429 100644 --- a/helix-core/src/auto_pairs.rs +++ b/helix-core/src/auto_pairs.rs @@ -161,3 +161,22 @@ fn handle_same(_doc: &Rope, _selection: &Selection, _token: char) -> Option,