mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
added test for SurroundWithQuotesAnnotationParameterValueFix that checks that char '\n' replaces by "\n" correctly
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// "Surround annotation parameter value with quotes" "true"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
String value();
|
||||
}
|
||||
|
||||
@MyAnnotation(value= "\n")
|
||||
void m() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// "Surround annotation parameter value with quotes" "true"
|
||||
class X {
|
||||
|
||||
@interface MyAnnotation {
|
||||
String value();
|
||||
}
|
||||
|
||||
@MyAnnotation(value='<caret>\n')
|
||||
void m() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user