File tree 2 files changed +2
-2
lines changed
FineCodeCoverageTests/Editor/DynamicCoverage
SharedProject/Editor/DynamicCoverage/Management
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public void Should_Stop_Listening_When_TextView_Closed()
111
111
112
112
autoMoqer . Verify < IEventAggregator > ( eventAggregator => eventAggregator . RemoveListener ( bufferLineCoverage ) ) ;
113
113
mockTextView . VerifyRemove ( textView => textView . Closed -= It . IsAny < EventHandler > ( ) , Times . Once ) ;
114
- mockTextBuffer . VerifyRemove ( textBuffer => textBuffer . Changed -= It . IsAny < EventHandler < TextContentChangedEventArgs > > ( ) , Times . Once ) ;
114
+ mockTextBuffer . VerifyRemove ( textBuffer => textBuffer . ChangedOnBackground -= It . IsAny < EventHandler < TextContentChangedEventArgs > > ( ) , Times . Once ) ;
115
115
var mockAppOptionsProvider = autoMoqer . GetMock < IAppOptionsProvider > ( ) ;
116
116
mockAppOptionsProvider . VerifyRemove ( appOptionsProvider => appOptionsProvider . OptionsChanged -= It . IsAny < Action < IAppOptions > > ( ) , Times . Once ) ;
117
117
}
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ void AppOptionsChanged(IAppOptions appOptions)
90
90
void textViewClosedHandler ( object s , EventArgs e )
91
91
{
92
92
this . UpdateDynamicCoverageStore ( ( s as ITextView ) . TextSnapshot ) ;
93
- this . textBuffer . Changed -= this . TextBuffer_ChangedOnBackground ;
93
+ this . textBuffer . ChangedOnBackground -= this . TextBuffer_ChangedOnBackground ;
94
94
this . textBuffer . ContentTypeChanged -= this . ContentTypeChanged ;
95
95
textInfo . TextView . Closed -= textViewClosedHandler ;
96
96
appOptionsProvider . OptionsChanged -= AppOptionsChanged ;
You can’t perform that action at this time.
0 commit comments