@@ -55,8 +55,8 @@ public function test_anchor()
5555 'attributes ' => ['title ' => 'The best news! ' ]
5656 ]
5757 );
58- // $expected = '<a href="http://localhost/index.php/news/local/123" title="The best news!">My News</a>'; // CI3
59- $ expected = '<a href="http://localhost/index.php/news/local/123" title="The  best  news! ">My News</a> ' ;
58+ // $expected = '<a href="http://localhost/index.php/news/local/123" title="The best news!">My News</a>'; // CI3
59+ $ expected = '<a href="http://localhost/index.php/news/local/123" title="The best news! ">My News</a> ' ;
6060 $ this ->assertEquals ($ expected , $ actual );
6161
6262 $ actual = $ this ->twig ->render (
@@ -67,23 +67,22 @@ public function test_anchor()
6767 'attributes ' => ['<s>name</s> ' => '<s>val</s> ' ]
6868 ]
6969 );
70- // $expected = '<a href="http://localhost/index.php/news/local/123" <s>name</s>="<s>val</s>"><s>abc</s></a>'; // CI3
71- $ expected = '<a href="http://localhost/index.php/news/local/123" <s>name</s>="<s>val</s>"><s>abc</s></a> ' ;
70+ $ expected = '<a href="http://localhost/index.php/news/local/123" <s>name</s>="<s>val</s>"><s>abc</s></a> ' ;
7271 $ this ->assertEquals ($ expected , $ actual );
7372 }
7473
7574 public function test_base_url ()
7675 {
7776 $ actual = $ this ->twig ->render ('base_url ' );
78- // $expected = 'http://localhost/"><s>abc</s><a name="test'; // CI3
77+ // $expected = 'http://localhost/"><s>abc</s><a name="test'; // CI3
7978 $ expected = 'http://localhost/%22%3E%3Cs%3Eabc%3C/s%3E%3Ca%20name=%22test ' ;
8079 $ this ->assertEquals ($ expected , $ actual );
8180 }
8281
8382 public function test_site_url ()
8483 {
8584 $ actual = $ this ->twig ->render ('site_url ' );
86- // $expected = 'http://localhost/index.php/"><s>abc</s><a name="test'; // CI3
85+ // $expected = 'http://localhost/index.php/"><s>abc</s><a name="test'; // CI3
8786 $ expected = 'http://localhost/index.php/%22%3E%3Cs%3Eabc%3C/s%3E%3Ca%20name=%22test ' ;
8887 $ this ->assertEquals ($ expected , $ actual );
8988 }
0 commit comments