mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix tests
This commit is contained in:
parent
bf9d528076
commit
d2d0c6bfcf
|
|
@ -6,14 +6,16 @@
|
|||
"end": "20080213",
|
||||
"organizer": null,
|
||||
"summary": "Abraham Lincoln",
|
||||
"description": "Born February 12, 1809\nSixteenth President (1861-1865)\\n\\n\\n\\nhttp://AmericanHistoryCalendar.com",
|
||||
"location": "Hodgenville, Kentucky",
|
||||
"description": "Born February 12, 1809\\nSixteenth President (1861-1865)\\n\\n\\n\\nhttp://AmericanHistoryCalendar.com",
|
||||
"location": "Hodgenville\\, Kentucky",
|
||||
"geo": {
|
||||
"lat": 37.5739497,
|
||||
"lon": -85.7399606
|
||||
},
|
||||
"url": "http://americanhistorycalendar.com/peoplecalendar/1,328-abraham-lincoln",
|
||||
"freq": "YEARLY",
|
||||
"bymonth": "2",
|
||||
"bymonthday": null,
|
||||
"interval": "1",
|
||||
"count": null,
|
||||
"until": null
|
||||
|
|
|
|||
|
|
@ -87,11 +87,11 @@ final class MarkdownTest extends \PHPUnit\Framework\TestCase
|
|||
$parser = new Markdown([
|
||||
'toc' => true
|
||||
]);
|
||||
$parser->text(\file_get_contents(__DIR__ . '/manualdata/toc.md'));
|
||||
|
||||
self::assertEquals(
|
||||
\file_get_contents(__DIR__ . '/manualdata/toc.html'),
|
||||
$parser->text(\file_get_contents(__DIR__ . '/manualdata/toc.md'))
|
||||
$parser->contentsList()
|
||||
);
|
||||
self::assertEquals('', $parser->contentsList());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
```chartjs
|
||||
```chart
|
||||
```
|
||||
|
|
@ -1,4 +1,10 @@
|
|||
<h1 id="a">A</h1>
|
||||
<h2 id="1">1</h2>
|
||||
<h3 id="i">i</h3>
|
||||
<h1 id="b">B</h1>
|
||||
<ul>
|
||||
<li><a href="#a">A</a><ul>
|
||||
<li><a href="#1">1</a><ul>
|
||||
<li><a href="#i">i</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#b">B</a></li>
|
||||
</ul>
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user