Skip to content

Commit

Permalink
[test] fix test count in t_01_table.m, was off by one
Browse files Browse the repository at this point in the history
This was causing:

ok 168 - TABLE . TABLE : nested tables : T == T(ii, :))
Ran 168 of 169 tests: 147 passed, 0 failed, 21 skipped

Looks like I've only got 168 tests there now:

[t] $ pwd
/Users/janke/repos/octave-tablicious/inst/t
[t] $ grep t_ok t_01_table.m | wc -l
     113
[t] $ grep t_is t_01_table.m | wc -l
      55

Bumping the test count down by one gets the expected and actual test counts to align, and an "all tests successful" message, which I like:

ok 168 - TABLE . TABLE : nested tables : T == T(ii, :))
All tests successful (147 passed, 21 skipped of 168)
  • Loading branch information
apjanke committed Feb 5, 2024
1 parent 61959c4 commit 3b0a6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/t/t_01_table.m
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
skip_oct_tab2 = false;

n_classes = numel (table_classes);
nt = 161 + (8 * n_classes);
nt = 160 + (8 * n_classes);

t_begin (n_classes * nt, quiet);

Expand Down

0 comments on commit 3b0a6f2

Please sign in to comment.