diff scripts/statistics/tests/var_test.m @ 11472:1740012184f9

Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author Rik <octave@nomad.inbox5.com>
date Sun, 09 Jan 2011 21:33:04 -0800
parents a1dbe9d80eee
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/statistics/tests/var_test.m
+++ b/scripts/statistics/tests/var_test.m
@@ -49,7 +49,7 @@
   endif
 
   if (! (isvector (x) && isvector (y)))
-    error ("var_test: both x and y must be vectors");
+    error ("var_test: both X and Y must be vectors");
   endif
 
   df_num = length (x) - 1;
@@ -62,7 +62,7 @@
   endif
 
   if (! ischar (alt))
-    error ("var_test: alt must be a string");
+    error ("var_test: ALT must be a string");
   endif
   if (strcmp (alt, "!=") || strcmp (alt, "<>"))
     pval = 2 * min (cdf, 1 - cdf);