-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing issue when formatting with tabs that would convert tabs in com… (
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Src/CSharpier.Tests/FormattingTests/TestFiles/cs/Comments_Tabs.expected.test
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,29 @@ | ||
public class Foo | ||
{ | ||
/** | ||
* comment | ||
*/ | ||
public class Bar | ||
{ | ||
/** | ||
* comment | ||
*/ | ||
var x = 0; | ||
} | ||
|
||
public void SomeFunction() | ||
{ | ||
/* | ||
The following line is an example with an indent: | ||
This line is indented by one tab. | ||
*/ | ||
/* | ||
The following line is an example with an indent: | ||
This line is indented by 4 spaces but will be converted to 1 tab | ||
*/ | ||
/* | ||
The following line is an example with an indent: | ||
This line is indented by 3 spaces but will be left as 3 spaces | ||
*/ | ||
} | ||
} |
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