Blame view

vendor/cebe/markdown/tests/MarkdownOLStartNumTest.php 691 Bytes
abf1649b   andryeyev   Чистая установка ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  <?php
  /**
   * @copyright Copyright (c) 2014 Carsten Brandt
   * @license https://github.com/cebe/markdown/blob/master/LICENSE
   * @link https://github.com/cebe/markdown#readme
   */
  
  namespace cebe\markdown\tests;
  
  use cebe\markdown\Markdown;
  
  /**
   * Test support ordered lists at arbitrary number(`start` html attribute)
   * @author Maxim Hodyrew <maximkou@gmail.com>
   * @group default
   */
  class MarkdownOLStartNumTest extends BaseMarkdownTest
  {
  	public function createMarkdown()
  	{
  		$markdown = new Markdown();
  		$markdown->keepListStartNumber = true;
  		return $markdown;
  	}
  
  	public function getDataPaths()
  	{
  		return [
  			'markdown-data' => __DIR__ . '/markdown-ol-start-num-data',
  		];
  	}
  }