This is an automated email from the ASF dual-hosted git repository. vlamp pushed a commit to branch TAP5-2718 in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit 06fbad7f93e720afcf8a533a6de6a5e00749a4fe Author: Volker Lamp <vl...@apache.org> AuthorDate: Tue Jun 7 13:16:11 2022 +0200 TAP5-2718 - Test added. --- .../org/apache/tapestry5/integration/app1/MiscTests.groovy | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/MiscTests.groovy b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/MiscTests.groovy index 08ae4958e..b40a8e925 100644 --- a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/MiscTests.groovy +++ b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/MiscTests.groovy @@ -12,6 +12,7 @@ package org.apache.tapestry5.integration.app1 +import org.apache.tapestry5.internal.plastic.asm.commons.GeneratorAdapter import org.testng.annotations.Test class MiscTests extends App1TestCase { @@ -33,6 +34,14 @@ class MiscTests extends App1TestCase { assertAttribute "//meta[@name='tapestry-page-name']/@content", "nested/ZoneDemo" } + @Test // TAP5-2718 + void tapestry_version_not_UNKNOWN() + { + def generator = getAttribute "//meta[@name='generator']/@content" + + assertFalse(generator.contains('UNKNOWN'), 'Tapestry version is not supposed to be UNKNOWN.') + } + @Test void FormGroup_mixin() { openLinks "Autocomplete Mixin Demo"