Fixing HtmlHelper::css() test

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5665 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-09-17 03:53:06 +00:00
parent a9bcb441e4
commit 653f9d7101

View file

@ -79,7 +79,7 @@ class HtmlHelperTest extends UnitTestCase {
$this->assertPattern('/^<link[^<>]+rel="stylesheet"[^<>]+\/>$/', $result); $this->assertPattern('/^<link[^<>]+rel="stylesheet"[^<>]+\/>$/', $result);
$this->assertPattern('/^<link[^<>]+type="text\/css"[^<>]+\/>$/', $result); $this->assertPattern('/^<link[^<>]+type="text\/css"[^<>]+\/>$/', $result);
$this->assertPattern('/^<link[^<>]+href=".*css\/screen\.css"[^<>]+\/>$/', $result); $this->assertPattern('/^<link[^<>]+href=".*css\/screen\.css"[^<>]+\/>$/', $result);
$this->assertNoPattern('/<input[^<>]+[^rel|type|href]=[^<>]*>/', $result); $this->assertNoPattern('/^<link[^<>]+[^rel|type|href]=[^<>]*>/', $result);
} }
function testBreadcrumb() { function testBreadcrumb() {