Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/test/TabCompletion/AutoCompleterTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | c2387f117808 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
60 $context->setAll(['foo' => 12, 'bar' => new \DOMDocument()]); | 60 $context->setAll(['foo' => 12, 'bar' => new \DOMDocument()]); |
61 | 61 |
62 $code = $tabCompletion->processCallback('', 0, [ | 62 $code = $tabCompletion->processCallback('', 0, [ |
63 'line_buffer' => $line, | 63 'line_buffer' => $line, |
64 'point' => 0, | 64 'point' => 0, |
65 'end' => strlen($line), | 65 'end' => \strlen($line), |
66 ]); | 66 ]); |
67 | 67 |
68 foreach ($mustContain as $mc) { | 68 foreach ($mustContain as $mc) { |
69 $this->assertContains($mc, $code); | 69 $this->assertContains($mc, $code); |
70 } | 70 } |