fixed documenting test name for snippets

This commit is contained in:
Michael Hunger
2011-10-13 15:23:19 +02:00
parent ef60ce8d95
commit 6f6ba18f56

View File

@@ -47,7 +47,7 @@ public abstract class DocumentingTestBase {
private String getSnippetName() {
final String className = getClass().getSimpleName();
return className.replace("Tests?$","");
return className.replaceAll("Tests?$","");
}
private File docbookDirectory() {