Skip to content

Commit 01e5297

Browse files
committed
Fixed bug in constraint
1 parent 394b117 commit 01e5297

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/NotifiesEvent.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@
6565

6666
fcnName = func2str( fcn );
6767

68-
if this.TestPassed
69-
str = "Event " + this.EventName + " was" + ...
68+
if obj.TestPassed
69+
str = "Event " + obj.EventName + " was" + ...
7070
posStr + "notified by " + fcnName;
71-
elseif ~this.TestPassed
72-
str = "Event " + this.EventName + " was" + ...
71+
elseif ~obj.TestPassed
72+
str = "Event " + obj.EventName + " was" + ...
7373
negStr + "notified by " + fcnName;
7474
else
7575
str = "The test has not been run yet";

0 commit comments

Comments
 (0)