added test for SurroundWithQuotesAnnotationParameterValueFix that checks that char '\n' replaces by "\n" correctly

This commit is contained in:
Dmitry Batkovich
2014-06-10 12:45:29 +04:00
parent f6a393d527
commit 880a4db277
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
// "Surround annotation parameter value with quotes" "true"
class X {
@interface MyAnnotation {
String value();
}
@MyAnnotation(value= "\n")
void m() {
}
}

View File

@@ -0,0 +1,13 @@
// "Surround annotation parameter value with quotes" "true"
class X {
@interface MyAnnotation {
String value();
}
@MyAnnotation(value='<caret>\n')
void m() {
}
}