Skip to content

Commit

Permalink
Removed usage of 'parameter(String)' method in ConstructorParameterNo…
Browse files Browse the repository at this point in the history
…tAFieldTest.kt and replaced it with 'to(String)'
  • Loading branch information
TheMarvelFan committed Sep 28, 2024
1 parent ed1ec05 commit a865cc3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ConstructorParameterNotAFieldTest {
class Mapper : ObjectMappie<Input, Output>() {
override fun map(from: Input) = mapping {
parameter("fake") fromProperty Input::input
to("fake") fromProperty Input::input
}
}
"""
Expand All @@ -61,7 +61,7 @@ class ConstructorParameterNotAFieldTest {
class Mapper : ObjectMappie<Input, Output>() {
override fun map(from: Input) = mapping {
parameter(0.toString()) fromProperty Input::input
to(0.toString()) fromProperty Input::input
}
}
"""
Expand Down

0 comments on commit a865cc3

Please sign in to comment.