mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed test data
This commit is contained in:
@@ -77,7 +77,7 @@ public class PythonDocumentationProvider extends AbstractDocumentationProvider i
|
||||
summary = docString.getSummary();
|
||||
}
|
||||
return $(cat.toString()).add(describeDecorators(func, LSame2, ", ", LSame1)).add(describeFunction(func, LSame2, LSame1))
|
||||
.toString() + summary;
|
||||
.toString() + "\n" + summary;
|
||||
}
|
||||
else if (element instanceof PyClass) {
|
||||
PyClass cls = (PyClass)element;
|
||||
@@ -94,7 +94,7 @@ public class PythonDocumentationProvider extends AbstractDocumentationProvider i
|
||||
summary = docString.getSummary();
|
||||
}
|
||||
|
||||
return describeDecorators(cls, LSame2, ", ", LSame1).add(describeClass(cls, LSame2, false, false)).toString() + summary;
|
||||
return describeDecorators(cls, LSame2, ", ", LSame1).add(describeClass(cls, LSame2, false, false)).toString() + "\n" + summary;
|
||||
}
|
||||
else if (element instanceof PyTargetExpression || element instanceof PyNamedParameter) {
|
||||
return describeExpression((PyExpression)element, originalElement);
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
class A(object)
|
||||
class A(object)
|
||||
Doc of A
|
||||
@@ -64,7 +64,7 @@ public class EpydocStringTest extends UsefulTestCase {
|
||||
assertOrderedEquals(params, "euid", "egid", "function", "*args", "**kwargs");
|
||||
assertEquals("effective UID used to call the function.", docString.getParamDescription("euid"));
|
||||
assertEquals("effective GID used to call the function.", docString.getParamDescription("egid"));
|
||||
assertEquals("arguments passed to function", docString.getParamDescription("args"));
|
||||
assertEquals("arguments passed to function.", docString.getParamDescription("args"));
|
||||
}
|
||||
|
||||
public void testInlineMarkupToHTML() {
|
||||
|
||||
Reference in New Issue
Block a user