Skip to content

Commit 1f9af30

Browse files
committed
Typo fix; 'off' -> false for safety
1 parent 879ffc4 commit 1f9af30

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

cb-tools/burgbox/+io/WSCommunicator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
properties (Transient)
2626
WebSocket
27-
EventMode = 'off'
27+
EventMode = false
2828
end
2929

3030
properties (Access = private, Transient)

cb-tools/burgbox/+io/WSJCommunicator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
hWebSocket
3434
% When true listeners are notified of new messages via the
3535
% MessageRecieved event
36-
EventMode = 'off'
36+
EventMode = false
3737
end
3838

3939
properties (Access = private, Transient)

tests/AlyxPanel_test.m

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,9 @@ function test_login(testCase)
373373
end
374374

375375
function test_updateWeightButton(testCase)
376-
% As this test takes at least 10 seconds and is actually doesn't
377-
% require database interaction, we will skip it unless the current
378-
% panel instance is using the first database URL set in the BaseURL
379-
% property.
376+
% As this test takes at least 10 seconds and doesn't require database
377+
% interaction, we will skip it unless the current panel instance is
378+
% using the first database URL set in the BaseURL property.
380379
if ~strcmp(testCase.Panel.AlyxInstance.BaseURL, testCase.BaseURL{1})
381380
disp('Skipping test')
382381
return

0 commit comments

Comments
 (0)