-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lists listener - check for type being an array (#53)
* Check for array * Create Issue53Test.php * Update Issue53Test.php Co-authored-by: Basil <[email protected]>
- Loading branch information
1 parent
a9dbe7b
commit f269b82
Showing
2 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
namespace nadar\quill\tests; | ||
|
||
class Issue53Test extends DeltaTestCase | ||
{ | ||
public $json = <<<'JSON' | ||
{"ops":[{ | ||
"attributes": { | ||
"list": { | ||
"depth": 0, | ||
"type": "bullet" | ||
} | ||
}, | ||
"insert": "\n" | ||
}, | ||
{ | ||
"insert": "Bullet point content" | ||
} | ||
]} | ||
JSON; | ||
|
||
public $html = <<<'EOT' | ||
<ul><li>Bullet point content</li></ul> | ||
EOT; | ||
} |