mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-06-16 10:34:34 +00:00
Improve blockComments rule and add tests
This commit is contained in:
@@ -1298,10 +1298,8 @@ private struct Examples {
|
||||
- * bar
|
||||
- */
|
||||
|
||||
+ //
|
||||
+ // foo
|
||||
+ // bar
|
||||
+ //
|
||||
```
|
||||
|
||||
```diff
|
||||
@@ -1310,10 +1308,8 @@ private struct Examples {
|
||||
- * bar
|
||||
- */
|
||||
|
||||
+ ///
|
||||
+ /// foo
|
||||
+ /// bar
|
||||
+ ///
|
||||
```
|
||||
"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user