File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
if (! function_exists ('shortcodes ' )) {
6
6
7
7
/**
8
- * Render shortcodes
8
+ * Render shortcodes.
9
9
*
10
10
* @param string $string
11
11
* @return string|HtmlString
Original file line number Diff line number Diff line change 2
2
3
3
namespace Vedmant \LaravelShortcodes \Tests \Unit ;
4
4
5
- use Vedmant \LaravelShortcodes \Tests \Resources \BShortcode ;
6
5
use Vedmant \LaravelShortcodes \Tests \TestCase ;
6
+ use Vedmant \LaravelShortcodes \Tests \Resources \BShortcode ;
7
7
8
8
class HelpersTest extends TestCase
9
9
{
@@ -17,6 +17,6 @@ public function testRenderWithHelper()
17
17
$ this ->manager ->add ('b ' , BShortcode::class);
18
18
19
19
$ rendered = \shortcodes ('[b class="test"]Content[/b] ' );
20
- $ this ->assertEquals (" <b class= \ "test \ ">Content</b> " , (string ) $ rendered );
20
+ $ this ->assertEquals (' <b class="test">Content</b> ' , (string ) $ rendered );
21
21
}
22
22
}
You can’t perform that action at this time.
0 commit comments