diff options
Diffstat (limited to 'test/core')
-rw-r--r-- | test/core/src/lombok/RunTestsViaDelombok.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/core/src/lombok/RunTestsViaDelombok.java b/test/core/src/lombok/RunTestsViaDelombok.java index 433d8b07..d4df50d7 100644 --- a/test/core/src/lombok/RunTestsViaDelombok.java +++ b/test/core/src/lombok/RunTestsViaDelombok.java @@ -99,6 +99,10 @@ public class RunTestsViaDelombok extends AbstractRunTests { try { if (tree instanceof JCModifiers) return; + if (!Javac.validateDocComment(unit, tree)) { + fail("Start position of doc comment (" + Javac.getDocComment(unit, tree) + ") of " + tree + " not set"); + } + if (tree.pos == -1) { fail("Start position of " + tree + " not set"); } |