Skip to content

Commit 3014f37

Browse files
authored
Update and apply scalafmt (#211)
1 parent b96b607 commit 3014f37

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.scalafmt.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
version = 3.2.1
1+
version = 3.4.3
22

3-
runner.dialect = scala212
3+
runner.dialect = scala213
44
docstrings.style = Asterisk
55
maxColumn = 120
66
assumeStandardLibraryStripMargin = true
77
rewrite.rules = [RedundantBraces, RedundantParens, SortImports, SortModifiers]
8-
unindentTopLevelOperators = true
8+
indentOperator.exemptScope = all
99
align.tokens = [
1010
{code = "%", owner = "Term.ApplyInfix"},
1111
{code = "%%", owner = "Term.ApplyInfix"},

src/test/scala/com/lightbend/paradox/apidoc/ApidocDirectiveSpec.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,10 @@ class ApidocDirectiveSpec extends MarkdownTestkit with Matchers with AnyFlatSpec
335335
}
336336

337337
it should "catch exception on malformed URIs and make suggestions" in {
338-
try markdown(
339-
"""The @apidoc[label](Flow) { scala="#method[ T <: Q[T] ](Flow => Unit):Unit" java="#method()" } thingie"""
340-
)
338+
try
339+
markdown(
340+
"""The @apidoc[label](Flow) { scala="#method[ T <: Q[T] ](Flow => Unit):Unit" java="#method()" } thingie"""
341+
)
341342
catch {
342343
case t @ ParadoxException(error) =>
343344
error.msg should include("template resulted in an invalid URL")

0 commit comments

Comments
 (0)