Mercurial > hg > octave-max
changeset 15563:e8e8c3fa657b
maint: Properly rename unimplemented to __unimplemented__.m (fix cset 77795b0ed263)
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 25 Oct 2012 16:47:50 -0400 |
parents | 305ad0a215ba |
children | b66be1cb12ca |
files | scripts/help/__unimplemented__.m scripts/help/unimplemented.m |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
rename from scripts/help/unimplemented.m rename to scripts/help/__unimplemented__.m --- a/scripts/help/unimplemented.m +++ b/scripts/help/__unimplemented__.m @@ -30,7 +30,7 @@ ## @end deftypefn -function txt = unimplemented (fcn) +function txt = __unimplemented__ (fcn) if (nargin != 1) print_usage (); @@ -421,9 +421,9 @@ %!test -%! str = unimplemented ("no_name_function"); +%! str = __unimplemented__ ("no_name_function"); %! assert (isempty (str)); -%! str = unimplemented ("quad2d"); +%! str = __unimplemented__ ("quad2d"); %! assert (str(1:51), "quad2d is not implemented. Consider using dblquad."); -%! str = unimplemented ("MException"); +%! str = __unimplemented__ ("MException"); %! assert (str(1:58), "the 'MException' function is not yet implemented in Octave");