Adjust for change to default asset path prefix

Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/55003bd3
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/55003bd3
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/55003bd3

Branch: refs/heads/master
Commit: 55003bd3e08f3d60681831235095d4c5c6820876
Parents: 5a4c003
Author: Howard M. Lewis Ship <[email protected]>
Authored: Sun Apr 14 15:33:50 2013 +0100
Committer: Howard M. Lewis Ship <[email protected]>
Committed: Mon Apr 15 22:11:18 2013 +0100

----------------------------------------------------------------------
 .../tapestry5/integration/app1/LibraryTests.groovy |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/55003bd3/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
----------------------------------------------------------------------
diff --git 
a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
 
b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
index 67a72d8..07263c4 100644
--- 
a/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
+++ 
b/tapestry-core/src/test/groovy/org/apache/tapestry5/integration/app1/LibraryTests.groovy
@@ -19,7 +19,7 @@ class LibraryTests extends GroovyTapestryCoreTestCase
 
         String assetURL = getAttribute("//img[@id='t5logo']/@src")
 
-        def pattern = ~"/assets/lib/alpha/\\w+/pages/tapestry\\.png"
+        def pattern = ~"/asset/lib/alpha/\\w+/pages/tapestry\\.png"
 
         assert pattern.matcher(assetURL).matches()
 

Reply via email to