forked from INRIA/spoon
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(SniperPrettyPrinter): modification on first statement of a block…
… should not remove new line (INRIA#3401) (INRIA#3402)
- Loading branch information
1 parent
793fabf
commit 8cb1073
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/test/java/spoon/test/prettyprinter/testclasses/Throw.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package spoon.test.prettyprinter.testclasses; | ||
|
||
public class Throw { | ||
void foo(int x) { | ||
new IllegalArgumentException("x must be nonnegative"); | ||
} | ||
} |