File tree 2 files changed +12
-11
lines changed
scalac-scoverage-plugin/src/test/scala/scoverage
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -105,15 +105,16 @@ class PluginASTSupportTest
105
105
assert(! compiler.reporter.hasWarnings)
106
106
}
107
107
108
- // test("type param with default arg supported") {
109
- // compileCodeSnippet( """ class TypeTreeObjects {
110
- // | class Container {
111
- // | def typeParamAndDefaultArg[C](name: String = "sammy"): String = name
112
- // | }
113
- // | new Container().typeParamAndDefaultArg[Any]()
114
- // | } """.stripMargin)
115
- // assert(!reporter.hasErrors)
116
- // assert(!reporter.hasWarnings)
117
- // }
108
+ test(" type param with default arg supported" ) {
109
+ val compiler = ScoverageCompiler .default
110
+ compiler.compileCodeSnippet( """ class TypeTreeObjects {
111
+ | class Container {
112
+ | def typeParamAndDefaultArg[C](name: String = "sammy"): String = name
113
+ | }
114
+ | new Container().typeParamAndDefaultArg[Any]()
115
+ |} """ .stripMargin)
116
+ assert(! compiler.reporter.hasErrors)
117
+ assert(! compiler.reporter.hasWarnings)
118
+ }
118
119
}
119
120
Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ class PluginCoverageTest
293
293
compiler.assertNoCoverage()
294
294
}
295
295
296
- test (" plugin should handle return inside catch github.com/scoverage/scalac-scoverage-plugin/issues/93" ) {
296
+ ignore (" plugin should handle return inside catch github.com/scoverage/scalac-scoverage-plugin/issues/93" ) {
297
297
val compiler = ScoverageCompiler .default
298
298
compiler.compileCodeSnippet(
299
299
"""
You can’t perform that action at this time.
0 commit comments