Skip to content

Commit 8ce2f5e

Browse files
committed
Add test for value string matching function name
1 parent 3dc6981 commit 8ce2f5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: tests/Test.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@
3636
*/
3737
it('generates HTML attributes', $inputBuildsExpectedHtml)->with([
3838
[
39-
'id="foobar" required class="foo baz 0 qux"',
39+
'id="foobar" required class="foo baz 0 qux" data-fn="rand"',
4040
[
4141
'id' => function () {
4242
return 'foobar';
4343
},
4444
'required' => true,
4545
'class' => [ 'foo', null, '', ' ', ' baz ', 0, true, false, 'qux' ],
46+
'data-fn' => 'rand',
4647
],
4748
],
4849
[

0 commit comments

Comments
 (0)