Navigation Menu

Skip to content

Commit

Permalink
use {}indexing, like I should have, to fix the varargin.t test
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Dec 9, 2009
1 parent e94ad9b commit f5cd877
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/syntax/varargin.t
Expand Up @@ -7,6 +7,6 @@ endfunction
x = getvarargs(7, 8, 9);
is(parrot_typeof(x), "PMCMatrix2D", "varargin is a PMCMatrix2D");
ok(iscell(x), "varargin is a cell array");
is(x(1), 7, "varargin(1)");
is(x(2), 8, "varargin(2)");
is(x(3), 9, "varargin(3)");
is(x{1}, 7, "varargin(1)");
is(x{2}, 8, "varargin(2)");
is(x{3}, 9, "varargin(3)");

0 comments on commit f5cd877

Please sign in to comment.