Skip to content

Commit

Permalink
Merge pull request #2 from jrmessias/main
Browse files Browse the repository at this point in the history
Icons Release 2.1.2
  • Loading branch information
secondnetwork authored Jan 27, 2023
2 parents 662c266 + 15a722c commit c3ac2c9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/CompilesIconsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function it_compiles_a_single_anonymous_component()
$expected = <<<'SVG'
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-accessible" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="12" r="9" />
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
<path d="M10 16.5l2 -3l2 3m-2 -3v-2l3 -1m-6 0l3 1" />
<circle cx="12" cy="7.5" r=".5" fill="currentColor" />
</svg>
Expand All @@ -36,7 +36,7 @@ public function it_can_add_classes_to_icons()
$expected = <<<'SVG'
<svg class="w-6 h-6 text-gray-500" xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-accessible" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="12" r="9" />
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
<path d="M10 16.5l2 -3l2 3m-2 -3v-2l3 -1m-6 0l3 1" />
<circle cx="12" cy="7.5" r=".5" fill="currentColor" />
</svg>
Expand All @@ -53,13 +53,12 @@ public function it_can_add_styles_to_icons()
$expected = <<<'SVG'
<svg style="color: #555" xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-accessible" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="12" r="9" />
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" />
<path d="M10 16.5l2 -3l2 3m-2 -3v-2l3 -1m-6 0l3 1" />
<circle cx="12" cy="7.5" r=".5" fill="currentColor" />
</svg>
SVG;


$this->assertStringMatchesFormat($expected, $result);
}

Expand Down

0 comments on commit c3ac2c9

Please sign in to comment.