Skip to content

Commit c057cbf

Browse files
authored
test(toolbar): update testToolbarHasAllButtons count to 13 (Follow toggle) (#144)
FastSenseToolbar gained a Follow uitoggletool in #136 (commit 9f46c92, between Live and Metadata), bringing the count from 12 to 13. The TestToolbar assertion + comment hadn't been updated, leaving CI red on the Q-Z batch.
1 parent f55d340 commit c057cbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/suite/TestToolbar.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ function testToolbarHasAllButtons(testCase)
3737
children = get(tb.hToolbar, 'Children');
3838
% Buttons created in createToolbar(): cursor, crosshair, grid,
3939
% legend, autoscale, exportPNG, exportData, refresh, live,
40-
% metadata, violations, theme = 12.
41-
testCase.verifyEqual(numel(children), 12, ...
40+
% follow, metadata, violations, theme = 13.
41+
testCase.verifyEqual(numel(children), 13, ...
4242
sprintf('testToolbarHasAllButtons: got %d', numel(children)));
4343
end
4444

0 commit comments

Comments
 (0)