Skip to content

Commit

Permalink
Add more tests on overflow oneline docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Jun 18, 2020
1 parent 39d51f4 commit a5e1951
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions scalafmt-tests/src/test/resources/test/JavaDoc.stat
Original file line number Diff line number Diff line change
Expand Up @@ -1167,3 +1167,103 @@ object a {
* alias for [[literal]]
*/
}
<<< #2028 Asterisk long, fold, wrap
docstrings.style = Asterisk
docstrings.oneline = fold
docstrings.wrap = yes
maxColumn = 25
===
object a {
/** alias for [[literal]] */
/**
*
* alias for [[literal]]
*
*/
}
>>>
object a {

/**
* alias for
* [[literal]]
*/
/**
* alias for
* [[literal]]
*/
}
<<< #2028 Asterisk long, keep, wrap
docstrings.style = Asterisk
docstrings.oneline = fold
docstrings.wrap = yes
maxColumn = 25
===
object a {
/** alias for [[literal]] */
/**
*
* alias for [[literal]]
*
*/
}
>>>
object a {

/**
* alias for
* [[literal]]
*/
/**
* alias for
* [[literal]]
*/
}
<<< #2028 Asterisk long, fold, !wrap
docstrings.style = Asterisk
docstrings.oneline = fold
docstrings.wrap = no
maxColumn = 25
===
object a {
/** alias for [[literal]] */
/**
*
* alias for [[literal]]
*
*/
}
>>>
object a {

/**
* alias for [[literal]]
*/
/**
* alias for [[literal]]
*/
}
<<< #2028 Asterisk long, keep, !wrap
docstrings.style = Asterisk
docstrings.oneline = fold
docstrings.wrap = no
maxColumn = 25
===
object a {
/** alias for [[literal]] */
/**
*
* alias for [[literal]]
*
*/
}
>>>
object a {

/**
* alias for [[literal]]
*/
/**
* alias for [[literal]]
*/
}

0 comments on commit a5e1951

Please sign in to comment.