Skip to content

Commit

Permalink
Added test case
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrewster committed Jan 12, 2016
1 parent 479b692 commit 7f8b9bd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/source/type-punctuation.rs
@@ -0,0 +1,5 @@
// rustfmt-type_punctuation_density: Compressed

fn Foo<T = Foo, Output = Expr<'tcx> + Foo>() {
let i = 6;
}
5 changes: 5 additions & 0 deletions tests/target/type-punctuation.rs
@@ -0,0 +1,5 @@
// rustfmt-type_punctuation_density: Compressed

fn Foo<T=Foo, Output=Expr<'tcx>+Foo>() {
let i = 6;
}

0 comments on commit 7f8b9bd

Please sign in to comment.