Skip to content

Commit c67163b

Browse files
committed
fixed broken tests
1 parent 982f660 commit c67163b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Rubberduck.Core/AutoComplete/SelfClosingPairCompletion/SelfClosingPairCompletionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public CodeString Execute(SelfClosingPair pair, CodeString original, char input,
2929
{
3030
if (prettifier.IsSpacingUnchanged(result, original))
3131
{
32-
//_showIntelliSense.Execute(); /* lovely VBE makes a loud "DING!!" if the command has no effect */
32+
//_showIntelliSense?.Execute(); /* lovely VBE makes a loud "DING!!" if the command has no effect */
3333
return result;
3434
}
3535

RubberduckTests/AutoComplete/SelfClosingPairCompletionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ public class SelfClosingPairCompletionTests
1111
{
1212
private CodeString Run(SelfClosingPair pair, CodeString original, char input)
1313
{
14-
var sut = new SelfClosingPairCompletionService();
14+
var sut = new SelfClosingPairCompletionService(null);
1515
return sut.Execute(pair, original, input);
1616
}
1717

1818
private CodeString Run(SelfClosingPair pair, CodeString original, Keys input)
1919
{
20-
var sut = new SelfClosingPairCompletionService();
20+
var sut = new SelfClosingPairCompletionService(null);
2121
return sut.Execute(pair, original, input);
2222
}
2323

0 commit comments

Comments
 (0)