branch: externals/csharp-mode commit 4eeccbde258ba9d03c504467bf497bdaaeaf2c29 Author: Theodor Thornhill <t...@thornhill.no> Commit: Theodor Thornhill <t...@thornhill.no>
Remove newly added tests --- test-files/indentation-tests.cs | 58 +++++++---------------------------------- 1 file changed, 9 insertions(+), 49 deletions(-) diff --git a/test-files/indentation-tests.cs b/test-files/indentation-tests.cs index 837dd54..650ac1e 100644 --- a/test-files/indentation-tests.cs +++ b/test-files/indentation-tests.cs @@ -119,10 +119,10 @@ namespace Boo PropB = 2 }; - yield return new InnerA.InnerB { - PropA = 1, - PropB = 2 - }; + // yield return new InnerA.InnerB { + // PropA = 1, + // PropB = 2 + // }; yield return new InnerA { @@ -130,11 +130,11 @@ namespace Boo May = "Yay" }; - yield return new InnerA.InnerB - { - Boo = "Foo", - May = "Yay" - }; + // yield return new InnerA.InnerB + // { + // Boo = "Foo", + // May = "Yay" + // }; // extra test-cases @@ -255,43 +255,3 @@ public async Task WriteAsync() } } } - -namespace Foo -{ - internal T GetThings() - { - private Thing<int> Values(string key, int[] numbers, bool ignoreCase) - { - return (from n in numbers - where string.Equals("", "") - select n); - } - - private string GetKey(int number, bool randomCase) - { - if (randomCase) - { - bool upper = false - return (upper ? "AA" : "aa"); - } - else - { - return "AA" + Right2Chars(number.ToString()); - } - } - } -} - -namespace Foo -{ - internal T GetAssemblies() - { - static string GetRelativePath(string path, Uri baseUri) - { - var rootedPath = Path.IsPathRooted(path) - ? path - : x; - return rootedPath; - } - } -}