We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e00fb commit b969ddcCopy full SHA for b969ddc
RubberduckTests/AutoComplete/SelfClosingPairHandlerTests.cs
@@ -20,6 +20,18 @@ private bool Run(SelfClosingPairTestInfo info)
20
return false;
21
}
22
23
+ [Test]
24
+ public void GivenDisabledSelfClosingPairs_BailsOut()
25
+ {
26
+ var input = '"';
27
+ var original = "DoSomething |".ToCodeString();
28
+ var info = new SelfClosingPairTestInfo(original, input);
29
+ info.Settings.SelfClosingPairs.IsEnabled = false;
30
+
31
+ Assert.IsFalse(Run(info));
32
+ Assert.IsNull(info.Result);
33
+ }
34
35
[Test]
36
public void GivenInvalidInput_ResultIsNull()
37
{
0 commit comments