branch: externals/matlab-mode
commit 5e979864aaf244900693bda2737c88eb75350679
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>

    matlab-ts-mode: disable electric ends in tests that require it to be off
---
 tests/test-matlab-ts-mode-indent-xr.el | 3 ++-
 tests/test-matlab-ts-mode-indent.el    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/test-matlab-ts-mode-indent-xr.el 
b/tests/test-matlab-ts-mode-indent-xr.el
index a5074fd796..d4117c4518 100644
--- a/tests/test-matlab-ts-mode-indent-xr.el
+++ b/tests/test-matlab-ts-mode-indent-xr.el
@@ -54,7 +54,8 @@ and run this function.  The baseline is saved for you as
 after validating it, rename it to
   ./test-matlab-ts-mode-indent-xr-files/NAME_expected.org"
 
-  (let* ((test-name "test-matlab-ts-mode-indent-xr")
+  (let* ((matlab-ts-mode-electric-ends nil)
+         (test-name "test-matlab-ts-mode-indent-xr")
          (m-files (t-utils-get-files
                    test-name
                    (rx ".m" eos)
diff --git a/tests/test-matlab-ts-mode-indent.el 
b/tests/test-matlab-ts-mode-indent.el
index 4708fff80e..0984ad5972 100644
--- a/tests/test-matlab-ts-mode-indent.el
+++ b/tests/test-matlab-ts-mode-indent.el
@@ -55,7 +55,8 @@ and run this function.  The baseline is saved for you as
 after validating it, rename it to
   ./test-matlab-ts-mode-indent-files/NAME_expected.m"
 
-  (let* ((test-name "test-matlab-ts-mode-indent")
+  (let* ((matlab-ts-mode-electric-ends nil)
+         (test-name "test-matlab-ts-mode-indent")
          (m-files (t-utils-get-files
                    test-name
                    (rx ".m" eos)

Reply via email to