<commit_before><?php

namespace Code16\Sharp\Tests\Feature;

use Code16\Sharp\Tests\Feature\Api\BaseApiTest;

class AssetViewComposerTest extends BaseApiTest
{
    /** @test */
    public function we_can_define_assets_to_render_in_views()
    {
        $this->withoutExceptionHandling();
        $this->buildTheWorld();

        $this->app['config']->set(
            'sharp.extensions.assets.head',
            ['/path/to/asset.css']
        );

        $this->get(route('code16.sharp.login'))
            ->assertViewHas('injectedAssets')
            ->assertSee('<link rel="stylesheet" href="/path/to/asset.css">');
    }
}<commit_msg>fix assertSee<commit_after><?php

namespace Code16\Sharp\Tests\Feature;

use Code16\Sharp\Tests\Feature\Api\BaseApiTest;

class AssetViewComposerTest extends BaseApiTest
{
    /** @test */
    public function we_can_define_assets_to_render_in_views()
    {
        $this->withoutExceptionHandling();
        $this->buildTheWorld();

        $this->app['config']->set(
            'sharp.extensions.assets.head',
            ['/path/to/asset.css']
        );

        $this->get(route('code16.sharp.login'))
            ->assertViewHas('injectedAssets')
            ->assertSee('<link rel="stylesheet" href="/path/to/asset.css">', false);
    }
}
{'fraction_non_alphanumeric': 0.15822291504286828, 'fraction_numerical': 0.009353078721745909, 'mean_word_length': 2.7876106194690267, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3616752', 'n_tokens_mistral': 413, 'n_tokens_neox': 395, 'n_words': 48}