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

    t-utils.el: improve formatting of standard-output in resulst org file
---
 tests/t-utils.el                                   |  10 +-
 .../electric_pair_single_quote_expected.org        |  16 ++-
 .../indent_xr_cell1_expected.org                   |  15 +--
 .../indent_xr_fun1_expected.org                    |  11 +-
 .../indent_xr_fun_expected.org                     |   9 +-
 .../indent_xr_i_cont_incomplete1_expected.org      |  13 +-
 .../indent_xr_i_cont_incomplete2_expected.org      |  11 +-
 .../indent_xr_i_cont_incomplete3_expected.org      |  11 +-
 .../indent_xr_i_cont_incomplete4_expected.org      |  11 +-
 .../indent_xr_i_cont_incomplete5_expected.org      |  11 +-
 .../indent_xr_statement_body_expected.org          | 131 +++++++++++----------
 .../show_paren_classdef_expected.org               | 120 ++++++++++++++-----
 .../show_paren_classdef_missing_end_expected.org   |   4 +-
 .../show_paren_enumeration_expected.org            |   8 +-
 .../show_paren_string_expected.org                 |  28 +++--
 15 files changed, 255 insertions(+), 154 deletions(-)

diff --git a/tests/t-utils.el b/tests/t-utils.el
index 7ee5be608d..d6e4efc461 100644
--- a/tests/t-utils.el
+++ b/tests/t-utils.el
@@ -589,10 +589,14 @@ You can run `t-utils--diff-check' to debug"))))
                 (with-current-buffer standard-output
                   (let ((contents (string-trim (buffer-substring (point-min) 
(point-max)))))
                     (when (not (string= contents ""))
+                      (setq contents (replace-regexp-in-string "\\`\"" "" 
contents))
+                      (setq contents (replace-regexp-in-string "\"\\'" "" 
contents))
                       (setq result (concat result
-                                           "  standard-output:\n  "
-                                           (replace-regexp-in-string "^" "  " 
contents)
-                                           "\n")))))
+                                           "  standard-output:\n"
+                                           "  #+begin_example\n"
+                                           contents
+                                           (if (string-match-p "\n\\'" 
contents) "" "\n")
+                                           "  #+end_example\n")))))
 
                 ;; Record buffer modifications by adding what happened to 
result
                 (if (equal start-contents end-contents)
diff --git 
a/tests/test-matlab-ts-mode-electric-pair-files/electric_pair_single_quote_expected.org
 
b/tests/test-matlab-ts-mode-electric-pair-files/electric_pair_single_quote_expected.org
index c606eda7cf..796fff7cd1 100644
--- 
a/tests/test-matlab-ts-mode-electric-pair-files/electric_pair_single_quote_expected.org
+++ 
b/tests/test-matlab-ts-mode-electric-pair-files/electric_pair_single_quote_expected.org
@@ -15,7 +15,9 @@
   Start point   :  147
   No point movement
   standard-output:
-    t
+  #+begin_example
+t
+  #+end_example
   No buffer modifications
 
 * Executing commands from electric_pair_single_quote.m:8:2:
@@ -33,7 +35,9 @@
   Start point   :  269
   No point movement
   standard-output:
-    t
+  #+begin_example
+t
+  #+end_example
   No buffer modifications
 
 * Executing commands from electric_pair_single_quote.m:11:2:
@@ -71,7 +75,9 @@
   Start point   :  445
   No point movement
   standard-output:
-    nil
+  #+begin_example
+nil
+  #+end_example
   No buffer modifications
 
 - Invoking      : (delete-region (1- (point)) (point))
@@ -126,7 +132,9 @@
   Start point   :  637
   No point movement
   standard-output:
-    nil
+  #+begin_example
+nil
+  #+end_example
   No buffer modifications
 
 - Invoking      : (delete-region (- (point) 4) (point))
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_cell1_expected.org 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_cell1_expected.org
index 19cb7cded6..06fa19d476 100644
--- a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_cell1_expected.org
+++ b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_cell1_expected.org
@@ -262,11 +262,12 @@
   Start point   :  301
   No point movement
   standard-output:
-    "cell1 = { ...
-            {'one', ...
-             'two'}, ...
-            ...
-            {'three'}
-          };
-  "
+  #+begin_example
+cell1 = { ...
+          {'one', ...
+           'two'}, ...
+          ...
+          {'three'}
+        };
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun1_expected.org 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun1_expected.org
index 5cdffcfb74..f778c7e065 100644
--- a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun1_expected.org
+++ b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun1_expected.org
@@ -151,9 +151,10 @@
   Start point   :  213
   No point movement
   standard-output:
-    "function indent_xr_fun1
-      a = 1;
-  end
-  
-  "
+  #+begin_example
+function indent_xr_fun1
+    a = 1;
+end
+
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun_expected.org 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun_expected.org
index 8f635e30a8..e22f8585ef 100644
--- a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun_expected.org
+++ b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_fun_expected.org
@@ -132,8 +132,9 @@
   Start point   :  228
   No point movement
   standard-output:
-    "function a = indent_xr_fun()
-      a = 1;
-  end
-  "
+  #+begin_example
+function a = indent_xr_fun()
+    a = 1;
+end
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete1_expected.org
 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete1_expected.org
index 3dca4af16f..f32be64906 100644
--- 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete1_expected.org
+++ 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete1_expected.org
@@ -114,10 +114,11 @@
   Start point   :  207
   No point movement
   standard-output:
-    "function result = indent_xr_i_cont_incomplete1(a, b)
-      result = 1 + myfcn(a, ...
-                         b);
-      
-  end
-  "
+  #+begin_example
+function result = indent_xr_i_cont_incomplete1(a, b)
+    result = 1 + myfcn(a, ...
+                       b);
+    
+end
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete2_expected.org
 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete2_expected.org
index 260c1ead9f..6e0f726497 100644
--- 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete2_expected.org
+++ 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete2_expected.org
@@ -97,9 +97,10 @@
   Start point   :  206
   No point movement
   standard-output:
-    "function result = indent_xr_i_cont_incomplete2(a, b)
-      result = 1 + myfcn(a, b) + ...
-          b);
-  end
-  "
+  #+begin_example
+function result = indent_xr_i_cont_incomplete2(a, b)
+    result = 1 + myfcn(a, b) + ...
+        b);
+end
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete3_expected.org
 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete3_expected.org
index ab37755c2f..4662726c7f 100644
--- 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete3_expected.org
+++ 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete3_expected.org
@@ -97,9 +97,10 @@
   Start point   :  183
   No point movement
   standard-output:
-    "function a = indent_xr_i_cont_incomplete1
-      a = ...
-          99;
-  end
-  "
+  #+begin_example
+function a = indent_xr_i_cont_incomplete1
+    a = ...
+        99;
+end
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete4_expected.org
 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete4_expected.org
index 7f8b8047be..f6f7d1fe97 100644
--- 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete4_expected.org
+++ 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete4_expected.org
@@ -97,9 +97,10 @@
   Start point   :  200
   No point movement
   standard-output:
-    "function a = indent_xr_i_cont_incomplete4
-      a = foo((1+2)*3, a, ...
-              99);
-  end
-  "
+  #+begin_example
+function a = indent_xr_i_cont_incomplete4
+    a = foo((1+2)*3, a, ...
+            99);
+end
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete5_expected.org
 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete5_expected.org
index 69a2221af9..9cc87ab0ab 100644
--- 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete5_expected.org
+++ 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_i_cont_incomplete5_expected.org
@@ -97,9 +97,10 @@
   Start point   :  203
   No point movement
   standard-output:
-    "function result = indent_xr_i_cont_incomplete5
-      result = longFunction( ...
-          99);
-  end
-  "
+  #+begin_example
+function result = indent_xr_i_cont_incomplete5
+    result = longFunction( ...
+        99);
+end
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_statement_body_expected.org
 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_statement_body_expected.org
index 41acef0331..16878135e8 100644
--- 
a/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_statement_body_expected.org
+++ 
b/tests/test-matlab-ts-mode-indent-xr-files/indent_xr_statement_body_expected.org
@@ -825,69 +825,70 @@
   Start point   :   75
   No point movement
   standard-output:
-    "classdef indent_xr_statement_body
-  %c
-  
-      % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-      properties
-          %c
-      end
-  
-      % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-      methods
-          %c
-          function foo(a)
-  
-              % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-              if a == 1
-                  %c
-                  % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") 
\"C-i\")
-                  try
-                      %c
-                      % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") 
\"C-i\")
-                  catch
-                      %c
-                  end
-  
-                  % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") 
\"C-i\")
-                  spmd
-                  %c
-                  end
-  
-                  % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") 
\"C-i\")
-              elseif a == 2
-                  %c
-  
-                  % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") 
\"C-i\")
-              else
-                  %c
-                  
-              end
-  
-              % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-              while a
-                  %c
-              end
-  
-              % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-              for fIdx = 1:10
-                  %c
-              end
-          end
-      end
-  
-      % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-      events
-          %c
-      end
-  
-      % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
-      enumeration
-          %c
-          red
-      end
-  end
-  
-  % (t-utils-xr (re-search-backward \"^classdef\") (print 
(buffer-substring-no-properties (point) (point-max))))
-  "
+  #+begin_example
+classdef indent_xr_statement_body
+%c
+
+    % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+    properties
+        %c
+    end
+
+    % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+    methods
+        %c
+        function foo(a)
+
+            % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+            if a == 1
+                %c
+                % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+                try
+                    %c
+                    % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") 
\"C-i\")
+                catch
+                    %c
+                end
+
+                % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+                spmd
+                %c
+                end
+
+                % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+            elseif a == 2
+                %c
+
+                % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+            else
+                %c
+                
+            end
+
+            % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+            while a
+                %c
+            end
+
+            % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+            for fIdx = 1:10
+                %c
+            end
+        end
+    end
+
+    % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+    events
+        %c
+    end
+
+    % (t-utils-xr \"C-n\" \"C-e\" \"C-m\" (insert \"%c\") \"C-i\")
+    enumeration
+        %c
+        red
+    end
+end
+
+% (t-utils-xr (re-search-backward \"^classdef\") (print 
(buffer-substring-no-properties (point) (point-max))))
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_expected.org 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_expected.org
index 44e8a31433..4b86d20de8 100644
--- 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_expected.org
+++ 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_expected.org
@@ -22,7 +22,9 @@
   Start point   :   95
   No point movement
   standard-output:
-    (95 103 4163 4166 nil)
+  #+begin_example
+(95 103 4163 4166 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:6:6:
@@ -54,7 +56,9 @@
   Start point   :  212
   No point movement
   standard-output:
-    (212 222 340 343 nil)
+  #+begin_example
+(212 222 340 343 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:10:10:
@@ -86,7 +90,9 @@
   Start point   :  340
   No point movement
   standard-output:
-    (340 343 212 222 nil)
+  #+begin_example
+(340 343 212 222 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:13:6:
@@ -118,7 +124,9 @@
   Start point   :  432
   No point movement
   standard-output:
-    (432 438 543 546 nil)
+  #+begin_example
+(432 438 543 546 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:16:10:
@@ -150,7 +158,9 @@
   Start point   :  543
   No point movement
   standard-output:
-    (543 546 432 438 nil)
+  #+begin_example
+(543 546 432 438 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:19:6:
@@ -182,7 +192,9 @@
   Start point   :  635
   No point movement
   standard-output:
-    (635 642 4085 4088 nil)
+  #+begin_example
+(635 642 4085 4088 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:22:10:
@@ -214,7 +226,9 @@
   Start point   :  739
   No point movement
   standard-output:
-    (739 747 3994 3997 nil)
+  #+begin_example
+(739 747 3994 3997 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:25:14:
@@ -246,7 +260,9 @@
   Start point   :  859
   No point movement
   standard-output:
-    (859 868 990 993 nil)
+  #+begin_example
+(859 868 990 993 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:28:14:
@@ -278,7 +294,9 @@
   Start point   :  990
   No point movement
   standard-output:
-    (990 993 859 868 nil)
+  #+begin_example
+(990 993 859 868 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:31:14:
@@ -310,7 +328,9 @@
   Start point   : 1098
   No point movement
   standard-output:
-    (1098 1100 3895 3898 nil)
+  #+begin_example
+(1098 1100 3895 3898 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:36:22:
@@ -342,7 +362,9 @@
   Start point   : 1317
   No point movement
   standard-output:
-    (1317 1323 2776 2779 nil)
+  #+begin_example
+(1317 1323 2776 2779 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:38:24:
@@ -374,7 +396,9 @@
   Start point   : 1449
   No point movement
   standard-output:
-    (1449 1453 1317 1323 nil)
+  #+begin_example
+(1449 1453 1317 1323 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:41:26:
@@ -406,7 +430,9 @@
   Start point   : 1624
   No point movement
   standard-output:
-    (1624 1627 1806 1809 nil)
+  #+begin_example
+(1624 1627 1806 1809 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:44:30:
@@ -438,7 +464,9 @@
   Start point   : 1806
   No point movement
   standard-output:
-    (1806 1809 1624 1627 nil)
+  #+begin_example
+(1806 1809 1624 1627 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:47:26:
@@ -470,7 +498,9 @@
   Start point   : 1938
   No point movement
   standard-output:
-    (1938 1944 2123 2126 nil)
+  #+begin_example
+(1938 1944 2123 2126 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:50:30:
@@ -502,7 +532,9 @@
   Start point   : 2123
   No point movement
   standard-output:
-    (2123 2126 1938 1941 nil)
+  #+begin_example
+(2123 2126 1938 1941 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:53:26:
@@ -534,7 +566,9 @@
   Start point   : 2286
   No point movement
   standard-output:
-    (2286 2291 2474 2477 nil)
+  #+begin_example
+(2286 2291 2474 2477 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:56:30:
@@ -566,7 +600,9 @@
   Start point   : 2474
   No point movement
   standard-output:
-    (2474 2477 2286 2291 nil)
+  #+begin_example
+(2474 2477 2286 2291 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:58:26:
@@ -598,7 +634,9 @@
   Start point   : 2603
   No point movement
   standard-output:
-    (2603 2612 1317 1323 nil)
+  #+begin_example
+(2603 2612 1317 1323 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:61:26:
@@ -630,7 +668,9 @@
   Start point   : 2776
   No point movement
   standard-output:
-    (2776 2779 1317 1323 nil)
+  #+begin_example
+(2776 2779 1317 1323 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:63:22:
@@ -662,7 +702,9 @@
   Start point   : 2895
   No point movement
   standard-output:
-    (2895 2901 1152 1154 nil)
+  #+begin_example
+(2895 2901 1152 1154 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:66:22:
@@ -694,7 +736,9 @@
   Start point   : 3059
   No point movement
   standard-output:
-    (3059 3063 1152 1154 nil)
+  #+begin_example
+(3059 3063 1152 1154 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:69:22:
@@ -726,7 +770,9 @@
   Start point   : 3219
   No point movement
   standard-output:
-    (3219 3222 3562 3565 nil)
+  #+begin_example
+(3219 3222 3562 3565 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:72:26:
@@ -758,7 +804,9 @@
   Start point   : 3384
   No point movement
   standard-output:
-    (3384 3389 3219 3222 nil)
+  #+begin_example
+(3384 3389 3219 3222 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:75:26:
@@ -790,7 +838,9 @@
   Start point   : 3562
   No point movement
   standard-output:
-    (3562 3565 3219 3222 nil)
+  #+begin_example
+(3562 3565 3219 3222 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:79:18:
@@ -822,7 +872,9 @@
   Start point   : 3694
   No point movement
   standard-output:
-    (3694 3700 1098 1100 nil)
+  #+begin_example
+(3694 3700 1098 1100 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:84:18:
@@ -854,7 +906,9 @@
   Start point   : 3895
   No point movement
   standard-output:
-    (3895 3898 1098 1100 nil)
+  #+begin_example
+(3895 3898 1098 1100 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:86:10:
@@ -886,7 +940,9 @@
   Start point   : 3994
   No point movement
   standard-output:
-    (3994 3997 739 747 nil)
+  #+begin_example
+(3994 3997 739 747 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:88:6:
@@ -918,7 +974,9 @@
   Start point   : 4085
   No point movement
   standard-output:
-    (4085 4088 635 642 nil)
+  #+begin_example
+(4085 4088 635 642 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_classdef.m:91:2:
@@ -943,5 +1001,7 @@
   Start point   : 4163
   No point movement
   standard-output:
-    (4163 4166 95 103 nil)
+  #+begin_example
+(4163 4166 95 103 nil)
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_missing_end_expected.org
 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_missing_end_expected.org
index 94dbf66723..cf0731bac4 100644
--- 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_missing_end_expected.org
+++ 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_classdef_missing_end_expected.org
@@ -22,5 +22,7 @@
   Start point   :   96
   No point movement
   standard-output:
-    (96 104 nil nil t)
+  #+begin_example
+(96 104 nil nil t)
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_enumeration_expected.org
 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_enumeration_expected.org
index 47025589aa..b35ba5cfcd 100644
--- 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_enumeration_expected.org
+++ 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_enumeration_expected.org
@@ -29,7 +29,9 @@
   Start point   :  150
   No point movement
   standard-output:
-    (150 161 329 332 nil)
+  #+begin_example
+(150 161 329 332 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_enumeration.m:10:10:
@@ -61,5 +63,7 @@
   Start point   :  329
   No point movement
   standard-output:
-    (329 332 150 161 nil)
+  #+begin_example
+(329 332 150 161 nil)
+  #+end_example
   No buffer modifications
diff --git 
a/tests/test-matlab-ts-mode-show-paren-files/show_paren_string_expected.org 
b/tests/test-matlab-ts-mode-show-paren-files/show_paren_string_expected.org
index 432d7479c3..739f7dc608 100644
--- a/tests/test-matlab-ts-mode-show-paren-files/show_paren_string_expected.org
+++ b/tests/test-matlab-ts-mode-show-paren-files/show_paren_string_expected.org
@@ -36,7 +36,9 @@
   Start point   :  142
   No point movement
   standard-output:
-    nil
+  #+begin_example
+nil
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_string.m:7:2:
@@ -75,7 +77,9 @@
   Start point   :  251
   No point movement
   standard-output:
-    nil
+  #+begin_example
+nil
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_string.m:10:2:
@@ -107,7 +111,9 @@
   Start point   :  357
   No point movement
   standard-output:
-    (357 358 370 371 nil)
+  #+begin_example
+(357 358 370 371 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_string.m:13:2:
@@ -125,7 +131,9 @@
   Start point   :  477
   No point movement
   standard-output:
-    (464 465 477 478 nil)
+  #+begin_example
+(464 465 477 478 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_string.m:16:2:
@@ -157,7 +165,9 @@
   Start point   :  583
   No point movement
   standard-output:
-    (583 584 595 596 nil)
+  #+begin_example
+(583 584 595 596 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_string.m:19:2:
@@ -175,7 +185,9 @@
   Start point   :  701
   No point movement
   standard-output:
-    (689 690 701 702 nil)
+  #+begin_example
+(689 690 701 702 nil)
+  #+end_example
   No buffer modifications
 
 * Executing commands from show_paren_string.m:22:2:
@@ -224,7 +236,9 @@
   Start point   :  882
   No point movement
   standard-output:
-    (882 883 918 919 nil)
+  #+begin_example
+(882 883 918 919 nil)
+  #+end_example
   No buffer modifications
 
 - Invoking      : "C-e" = move-end-of-line

Reply via email to