Skip to content

Commit 0dc7e68

Browse files
committed
fix analyzer and lifecycle component tests: adjust type annotation and trailing newline
1 parent 3456a4c commit 0dc7e68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

analyzer/src/test/scala/com/avsystem/commons/analyzer/BadSingletonComponentTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class BadSingletonComponentTest extends AnyFunSuite with AnalyzerTest {
1313
| singleton(123)
1414
| val notDef = singleton(123)
1515
| def hasParams(param: Int) = singleton(param)
16-
| def hasTypeParams[T]: Component[T] = singleton(???)
16+
| def hasTypeParams[T]: Component[T] = singleton(??? :T)
1717
| def outerMethod: Component[Int] = {
1818
| def innerMethod = singleton(123)
1919
| innerMethod

core/jvm/src/test/scala/com/avsystem/commons/di/LifeCycleComponentTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ final class LifeCycleComponentTest extends AsyncFunSuite with Components {
8888
_ <- asyncDisposable.component.destroy
8989
_ = assert(asyncDisposable.destroys.get() == 1)
9090
} yield succeed)
91-
}
91+
}

0 commit comments

Comments
 (0)