3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/IndentationTests/BlockTest.cs
/// <summary>
/// Bug 16231 - smart indent broken in 4.2.0
/// </summary>
Bug 16231 - smart indent broken in 4.2.0
Bug 16231 - smart indent broken in 4 . 2 . 0
[Test]
		public void TestBug16231()
		{
			var policy = FormattingOptionsFactory.CreateMono();
			var indent = Helper.CreateEngine(@"
class Foo 
{
	void Test ()
	{ 
		switch (foo) {
		}
		if (true) {
			$
", policy);
			Assert.AreEqual("\t\t\t", indent.ThisLineIndent);
			Assert.AreEqual("\t\t\t", indent.NextLineIndent);
		}
[ Test ] public void TestBug16231 ( ) { var policy = FormattingOptionsFactory . CreateMono ( ) ; var indent = Helper . CreateEngine ( @"
class Foo 
{
	void Test ()
	{ 
		switch (foo) {
		}
		if (true) {
			$
" , policy ) ; Assert . AreEqual ( " \t \t \t " , indent . ThisLineIndent ) ; Assert . AreEqual ( " \t \t \t " , indent . NextLineIndent ) ; }
Bug 16231 - smart indent broken in 4.2.0
Bug 16231 - smart indent broken in 4 . 2 . 0