Skip to content

Dates testParseFailureA is failing #24

@patdel0

Description

@patdel0

The test is expecting an error to be returned but parse('2012-06-006 19:00') is returning an object for the timestamp 1338422400.

Currently, it is not returning either an error or the expected timestamp of 1339009200.

public function testParseFailureA()
{
$result = Missing\Dates::parse('2012-06-006 19:00');
$this->assertTrue($result->isErr());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions