Javadoc fixes, properly skip void methods.
This commit is contained in:
@@ -38,6 +38,13 @@ public class MustacheTest
|
||||
});
|
||||
}
|
||||
|
||||
@Test public void testSkipVoidReturn () {
|
||||
test("bar", "{{foo}}", new Object() {
|
||||
void foo () {}
|
||||
String getFoo () { return "bar"; }
|
||||
});
|
||||
}
|
||||
|
||||
@Test public void testCallSiteReuse () {
|
||||
Template tmpl = Mustache.compile("{{foo}}");
|
||||
Object ctx = new Object() {
|
||||
|
||||
Reference in New Issue
Block a user