Skip to content

Commit

Permalink
Move tests from Type.stat to TypeWith.stat
Browse files Browse the repository at this point in the history
  • Loading branch information
iantabolt committed Apr 13, 2018
1 parent d9a481c commit b60a53d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
26 changes: 26 additions & 0 deletions scalafmt-tests/src/test/resources/default/TypeWith.stat
Expand Up @@ -19,3 +19,29 @@ implicit val catsStdInstancesForOption: Traverse[Option]
with Alternative[Option]
with CommutativeMonad[Option]
with CoflatMap[Option] = ???
<<< with-chain types #1125
type RequiredServices = Bag with
SomeOtherService.RequiredServices
with HasDynamicConfig with HasThrottles
with HasThrowableNotifier
>>>
type RequiredServices = Bag
with SomeOtherService.RequiredServices
with HasDynamicConfig
with HasThrottles
with HasThrowableNotifier
<<< abstract def #1125
trait NeedsServices {
def services: Bag with
SomeOtherService.RequiredServices
with HasDynamicConfig with HasThrottles
with HasThrowableNotifier
}
>>>
trait NeedsServices {
def services: Bag
with SomeOtherService.RequiredServices
with HasDynamicConfig
with HasThrottles
with HasThrowableNotifier
}
26 changes: 0 additions & 26 deletions scalafmt-tests/src/test/resources/unit/Type.stat
Expand Up @@ -85,29 +85,3 @@ type Row =
type a = b_! # D
>>>
type a = b_! #D
<<< with-chain types #1125
type RequiredServices = Bag with
SomeOtherService.RequiredServices
with HasDynamicConfig with HasThrottles
with HasThrowableNotifier
>>>
type RequiredServices = Bag
with SomeOtherService.RequiredServices
with HasDynamicConfig
with HasThrottles
with HasThrowableNotifier
<<< abstract def #1125
trait NeedsServices {
def services: Bag with
SomeOtherService.RequiredServices
with HasDynamicConfig with HasThrottles
with HasThrowableNotifier
}
>>>
trait NeedsServices {
def services: Bag
with SomeOtherService.RequiredServices
with HasDynamicConfig
with HasThrottles
with HasThrowableNotifier
}

0 comments on commit b60a53d

Please sign in to comment.