Skip to content

Commit

Permalink
Enhance test for align_same_func_call_params to cover brace levels.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Gardner authored and Ben Gardner committed May 27, 2013
1 parent b338372 commit 6f840f2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/input/cpp/align_fcall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ cab(3,2,1,0);
brat("foo",2000,3000);
brat("question",2,-42);
brat("a",-22, 1);
while (1)
{
brat("foo",2000,3000);
brat("question",2,-42);
brat("a",-22, 1);
}
brat("foo",2000,3000);
brat("a",-22, 1);
}
8 changes: 8 additions & 0 deletions tests/output/cpp/30250-align_fcall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ void foo()
brat( "foo", 2000, 3000);
brat("question", 2, -42);
brat( "a", -22, 1);
while (1)
{
brat( "foo", 2000, 3000);
brat("question", 2, -42);
brat( "a", -22, 1);
}
brat("foo", 2000, 3000);
brat( "a", -22, 1);
}
8 changes: 8 additions & 0 deletions tests/output/cpp/30251-align_fcall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ void foo()
brat("foo", 2000, 3000);
brat("question", 2, -42);
brat("a", -22, 1);
while (1)
{
brat("foo", 2000, 3000);
brat("question", 2, -42);
brat("a", -22, 1);
}
brat("foo", 2000, 3000);
brat("a", -22, 1);
}

0 comments on commit 6f840f2

Please sign in to comment.