-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify Indent because we don't support dedent and it was a hot path.
Add test for tabs
- Loading branch information
Showing
5 changed files
with
53 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
public class ClassName | ||
{ | ||
public dynamic ShortValue = new { Property = true }; | ||
|
||
public dynamic LongValue = new | ||
{ | ||
One = "One", | ||
Two = "Two", | ||
ThreeThreeThree = "ThreeThreeThree" | ||
}; | ||
|
||
public dynamic Value = new { NoName }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using CSharpier.Tests.TestFileTests; | ||
using NUnit.Framework; | ||
|
||
namespace CSharpier.Tests.TestFiles | ||
{ | ||
public class TabsTests : BaseTest | ||
{ | ||
[Test] | ||
public void Tabs() | ||
{ | ||
this.RunTest("Tabs", "Tabs", useTabs: true); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters