Mercurial > hg > octave-terminal
changeset 12855:8f5bd903ba68
codesprint: Correct typos in previous check-ins to get tests running.
* powerset.m: Remove extra parenthesis
* defaults.cc, octave.cc: Add missing parenthesis
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 16 Jul 2011 18:00:15 -0700 |
parents | 4e9576618df8 |
children | cad4cba03f19 |
files | scripts/set/powerset.m src/defaults.cc src/octave.cc |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/set/powerset.m +++ b/scripts/set/powerset.m @@ -80,4 +80,4 @@ %!test %! c = sort (cellstr ({ [], [1], [2], [3], [1, 2], [1, 3], [2, 3], [1, 2, 3]})); %! p = sort (cellstr (powerset ([1, 2, 3]))); -%! assert (p, c)); \ No newline at end of file +%! assert (p, c);
--- a/src/defaults.cc +++ b/src/defaults.cc @@ -500,7 +500,7 @@ /* %!error OCTAVE_HOME (1); -%!assert (ischar (OCTAVE_HOME ()); +%!assert (ischar (OCTAVE_HOME ())); */ DEFUNX ("OCTAVE_VERSION", FOCTAVE_VERSION, args, , @@ -523,5 +523,5 @@ /* %!error OCTAVE_VERSION (1); -%!assert (ischar (OCTAVE_VERSION ()); +%!assert (ischar (OCTAVE_VERSION ())); */
--- a/src/octave.cc +++ b/src/octave.cc @@ -973,7 +973,7 @@ /* %!error argv (1); -%!assert (iscellstr (argv ()); +%!assert (iscellstr (argv ())); */ DEFUN (program_invocation_name, args, , @@ -1000,7 +1000,7 @@ /* %!error program_invocation_name (1); -%!assert (ischar (program_invocation_name ()); +%!assert (ischar (program_invocation_name ())); */ DEFUN (program_name, args, , @@ -1023,5 +1023,5 @@ /* %!error program_name (1); -%!assert (ischar (program_name ()); +%!assert (ischar (program_name ())); */