comparison vendor/nikic/php-parser/test/PhpParser/CommentTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 5fb285c0d0e3
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 <?php declare(strict_types=1); 1 <?php declare(strict_types=1);
2 2
3 namespace PhpParser; 3 namespace PhpParser;
4 4
5 use PHPUnit\Framework\TestCase; 5 class CommentTest extends \PHPUnit\Framework\TestCase
6
7 class CommentTest extends TestCase
8 { 6 {
9 public function testGetSet() { 7 public function testGetSet() {
10 $comment = new Comment('/* Some comment */', 1, 10, 2); 8 $comment = new Comment('/* Some comment */', 1, 10, 2);
11 9
12 $this->assertSame('/* Some comment */', $comment->getText()); 10 $this->assertSame('/* Some comment */', $comment->getText());