comparison vendor/psy/psysh/test/Psy/Test/CodeCleaner/LeavePsyshAlonePassTest.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
22 22
23 public function testPassesInlineHtmlThroughJustFine() 23 public function testPassesInlineHtmlThroughJustFine()
24 { 24 {
25 $inline = $this->parse('not php at all!', ''); 25 $inline = $this->parse('not php at all!', '');
26 $this->traverse($inline); 26 $this->traverse($inline);
27
28 // @todo a better thing to assert here?
29 $this->assertTrue(true);
27 } 30 }
28 31
29 /** 32 /**
30 * @dataProvider validStatements 33 * @dataProvider validStatements
31 */ 34 */
32 public function testProcessStatementPasses($code) 35 public function testProcessStatementPasses($code)
33 { 36 {
34 $stmts = $this->parse($code); 37 $stmts = $this->parse($code);
35 $this->traverse($stmts); 38 $this->traverse($stmts);
39
40 // @todo a better thing to assert here?
41 $this->assertTrue(true);
36 } 42 }
37 43
38 public function validStatements() 44 public function validStatements()
39 { 45 {
40 return array( 46 return array(