@@ -251,15 +251,15 @@ public function testText() {
251251 '/p '
252252 ];
253253 $ this ->assertHtml ($ expected , $ result );
254- /*
255- $result = $this->navbar->text(
256- 'Some text with a <a href="/" class="my-class">link</a>.');
257- $expected = [
258- ['p' => ['class' => 'navbar-text']],
259- 'Some text with a <a href="/" class="my-class navbar-link">link</a>.',
260- '/p'
261- ];
262- $this->assertHtml($expected, $result); */
254+
255+ $ result = $ this ->navbar ->text (
256+ 'Some text with a <a href="/" class="my-class">link</a>. ' );
257+ $ expected = [
258+ ['p ' => ['class ' => 'navbar-text ' ]],
259+ 'Some text with a <a href="/" class="my-class navbar-link">link</a>. ' ,
260+ '/p '
261+ ];
262+ $ this ->assertHtml ($ expected , $ result );
263263 }
264264
265265 public function testMenu () {
@@ -276,7 +276,7 @@ public function testMenu() {
276276 $ result .= $ this ->navbar ->link ('Something else here ' );
277277 $ result .= $ this ->navbar ->divider ();
278278 $ result .= $ this ->navbar ->link ('Another action ' );
279- $ result .= $ this ->navbar ->endMenu ();
279+ $ result .= $ this ->navbar ->endMenu ();
280280 $ result .= $ this ->navbar ->endMenu ();
281281 $ expected = [
282282 ['ul ' => ['class ' => 'my-menu nav navbar-nav ' ]],
0 commit comments