~ubuntu-branches/ubuntu/vivid/php-parser/vivid

« back to all changes in this revision

Viewing changes to test/PhpParser/NodeDumperTest.php

  • Committer: Package Import Robot
  • Author(s): David Prévot, nikic, David Prévot
  • Date: 2014-10-16 22:04:02 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20141016220402-kbqssv91y2t8ouk3
Tags: 1.0.1-1
[ nikic ]
* Disallow new without a class name
* Fix var_dump truncation with xdebug in php-parse.php
* Add ability to pass code directly to php-parse.php
* Release version 1.0.1

[ David Prévot ]
* Improve manual page generation

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
{
7
7
    /**
8
8
     * @dataProvider provideTestDump
9
 
     * @covers NodeDumper::dump
 
9
     * @covers PhpParser\NodeDumper::dump
10
10
     */
11
11
    public function testDump($node, $dump) {
12
12
        $dumper = new NodeDumper;
13
13
 
14
 
        $this->assertEquals($dump, $dumper->dump($node));
 
14
        $this->assertSame($dump, $dumper->dump($node));
15
15
    }
16
16
 
17
17
    public function provideTestDump() {