-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
closes #61 - fixes issue with trailing separators adding extra line
- Loading branch information
Showing
7 changed files
with
39 additions
and
51 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
Src/CSharpier.Tests/TestFiles/ObjectCreationExpression/BasicObjectCreationExpression.cst
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
Src/CSharpier.Tests/TestFiles/ObjectCreationExpression/ObjectCreationExpressions.cst
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,21 @@ | ||
public class ClassName | ||
{ | ||
public ClassName Basic = new ClassName(); | ||
|
||
public ClassName WithInitializer = new ClassName { Property = true }; | ||
|
||
public ClassName WithBigInitializer = new ClassName | ||
{ | ||
Property1 = true, | ||
Property2 = false, | ||
Property3 = false, | ||
Property4 = false, | ||
Property5 = false | ||
}; | ||
|
||
public ClassName TrailingComma = new ClassName | ||
{ | ||
Property1 = true, | ||
Property2 = true, | ||
}; | ||
} |
11 changes: 0 additions & 11 deletions
11
...Sharpier.Tests/TestFiles/ObjectCreationExpression/ObjectCreationWithBiggerInitializer.cst
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
Src/CSharpier.Tests/TestFiles/ObjectCreationExpression/ObjectCreationWithInitializer.cst
This file was deleted.
Oops, something went wrong.
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