/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
tests/View/Blade/BladeComponentFirstTest.php
12 строк
514 B
Lucas Michot
[6.0] Use assertSame for string assertions (#29757)
27 авг 2019, 15:48
27 авг 2019, 15:48
1d5ee86
Код
Авторство
О чём код?
<?php namespace Illuminate\Tests\View\Blade; class BladeComponentFirstTest extends AbstractBladeTestCase { public function testComponentFirstsAreCompiled() { $this->assertSame('<?php $__env->startComponentFirst(["one", "two"]); ?>', $this->compiler->compileString('@componentFirst(["one", "two"])')); $this->assertSame('<?php $__env->startComponentFirst(["one", "two"], ["foo" => "bar"]); ?>', $this->compiler->compileString('@componentFirst(["one", "two"], ["foo" => "bar"])')); } }