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

    tests/test-matlab-ts-mode-indent.el: improve help
---
 tests/test-matlab-ts-mode-indent.el | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/tests/test-matlab-ts-mode-indent.el 
b/tests/test-matlab-ts-mode-indent.el
index 44e746b129..c96c500417 100644
--- a/tests/test-matlab-ts-mode-indent.el
+++ b/tests/test-matlab-ts-mode-indent.el
@@ -39,18 +39,21 @@ This is provided for debugging.
     (ert-run-tests-interactively "test-matlab-ts-mode-indent")))
 
 (ert-deftest test-matlab-ts-mode-indent ()
-  "Test indent using ./test-matlab-ts-mode-indent-files/NAME.m.
-Compare indent of ./test-matlab-ts-mode-indent-files/NAME.m against
-./test-matlab-ts-mode-indent-files/NAME_expected.m.  Indent is done two
-ways as described in `t-utils-test-indent'.  This loops
-on all ./test-matlab-ts-mode-indent-files/NAME.m files.
+  "Test indent using ./test-LANGUAGE-ts-mode-indent-files/NAME.lang.
+Compare indent of ./test-LANGUAGE-ts-mode-indent-files/NAME.lang
+against ./test-LANGUAGE-ts-mode-indent-files/NAME_expected.lang.
+Indent is done several ways as described in `t-utils-test-indent'.
+This loops on all ./test-LANGUAGE-ts-mode-indent-files/NAME.lang
+files.
 
 To add a test, create
-  ./test-matlab-ts-mode-indent-files/NAME.m
+  ./test-LANGUAGE-ts-mode-indent-files/NAME.lang
 and run this function.  The baseline is saved for you as
-  ./test-matlab-ts-mode-indent-files/NAME_expected.m~
-after validating it, rename it to
-  ./test-matlab-ts-mode-indent-files/NAME_expected.m"
+  ./test-LANGUAGE-ts-mode-indent-files/NAME_expected.lang~
+  ./test-LANGUAGE-ts-mode-indent-files/NAME_expected_msgs.lang~
+after validating them, rename them to
+  ./test-LANGUAGE-ts-mode-indent-files/NAME_expected.lang
+  ./test-LANGUAGE-ts-mode-indent-files/NAME_expected_msgs.lang"
 
   (let* ((matlab-ts-mode-electric-ends nil)
          (test-name "test-matlab-ts-mode-indent")

Reply via email to