Skip to content

Instantly share code, notes, and snippets.

@rynop
Created December 10, 2010 19:19
Show Gist options
  • Save rynop/736652 to your computer and use it in GitHub Desktop.
Save rynop/736652 to your computer and use it in GitHub Desktop.
fixing test case
23,24c23,24
< $this->assertEqual($url, '/posts/');
< $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e0' => '/posts/'), $this->HtmlHelper->_cache);
---
> $this->assertEqual($url, '/posts');
> $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e012a55d605aac76775a2f56efac64438a' => '/posts'), $this->HtmlHelper->_cache);
28c28
< $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e0' => '/posts/'), $cache);
---
> $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e012a55d605aac76775a2f56efac64438a' => '/posts'), $cache);
34,35c34,35
< $this->assertEqual(array('35bc4241bbf31c0d0fe6b12bc9c0bce0'), array_keys($this->HtmlHelper->_cache));
< $this->assertPattern('/http:\/\/(.*)\/posts/', $this->HtmlHelper->_cache['35bc4241bbf31c0d0fe6b12bc9c0bce0']);
---
> $this->assertEqual(array('35bc4241bbf31c0d0fe6b12bc9c0bce012a55d605aac76775a2f56efac64438a'), array_keys($this->HtmlHelper->_cache));
> $this->assertPattern('/http:\/\/(.*)\/posts/', $this->HtmlHelper->_cache['35bc4241bbf31c0d0fe6b12bc9c0bce012a55d605aac76775a2f56efac64438a']);
39,40c39,40
< $this->assertEqual(array('35bc4241bbf31c0d0fe6b12bc9c0bce0'), array_keys($cache));
< $this->assertPattern('/http:\/\/(.*)\/posts/', $cache['35bc4241bbf31c0d0fe6b12bc9c0bce0']);
---
> $this->assertEqual(array('35bc4241bbf31c0d0fe6b12bc9c0bce012a55d605aac76775a2f56efac64438a'), array_keys($cache));
> $this->assertPattern('/http:\/\/(.*)\/posts/', $cache['35bc4241bbf31c0d0fe6b12bc9c0bce012a55d605aac76775a2f56efac64438a']);
47c47
< $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e0', '35bc4241bbf31c0d0fe6b12bc9c0bce0'), array_keys($this->HtmlHelper->_cache));
---
> $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e012a55d605aac76775a2f56efac64438a', '35bc4241bbf31c0d0fe6b12bc9c0bce012a55d605aac76775a2f56efac64438a'), array_keys($this->HtmlHelper->_cache));
51c51
< $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e0', '35bc4241bbf31c0d0fe6b12bc9c0bce0'), array_keys($cache));
---
> $this->assertEqual(array('c0662a9d1c026334679f7a02e6c0f8e012a55d605aac76775a2f56efac64438a', '35bc4241bbf31c0d0fe6b12bc9c0bce012a55d605aac76775a2f56efac64438a'), array_keys($cache));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment