{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/commonmark/issues/189","labels_url":"https://api.github.com/repos/thephpleague/commonmark/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/commonmark/issues/189/comments","events_url":"https://api.github.com/repos/thephpleague/commonmark/issues/189/events","html_url":"https://github.com/thephpleague/commonmark/issues/189","id":109140589,"number":189,"title":"Tests failing on Windows PHP 5.6.13","user":{"login":"garethellis36","id":6451455,"avatar_url":"https://avatars.githubusercontent.com/u/6451455?v=3","gravatar_id":"","url":"https://api.github.com/users/garethellis36","html_url":"https://github.com/garethellis36","followers_url":"https://api.github.com/users/garethellis36/followers","following_url":"https://api.github.com/users/garethellis36/following{/other_user}","gists_url":"https://api.github.com/users/garethellis36/gists{/gist_id}","starred_url":"https://api.github.com/users/garethellis36/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethellis36/subscriptions","organizations_url":"https://api.github.com/users/garethellis36/orgs","repos_url":"https://api.github.com/users/garethellis36/repos","events_url":"https://api.github.com/users/garethellis36/events{/privacy}","received_events_url":"https://api.github.com/users/garethellis36/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thephpleague/commonmark/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-09-30T17:27:16Z","updated_at":"2015-10-13T02:02:29Z","closed_at":null,"body":"Hello,\r\n\r\n7 of the tests are failing under PHP 5.6.13 for Windows. I cloned the repository, ran `composer install` and then `phpunit`. This may be related, but in addition, if I run `php bin\\commonmark`, nothing seems to happen (I have to CTRL-C out of PHP).\r\n\r\nResults:\r\n\r\n```shell\r\nC:\\inetpub\\commonmark>phpunit\r\nPHPUnit 4.7.7 by Sebastian Bergmann and contributors.\r\n\r\nRuntime:        PHP 5.6.13 with Xdebug 2.3.2\r\nConfiguration:  C:\\inetpub\\commonmark\\phpunit.xml.dist\r\n\r\nFFFFFFF.......................................................  62 / 956 (  6%)\r\n.............................................................. 124 / 956 ( 12%)\r\n.............................................................. 186 / 956 ( 19%)\r\n.............................................................. 248 / 956 ( 25%)\r\n.............................................................. 310 / 956 ( 32%)\r\n.............................................................. 372 / 956 ( 38%)\r\n.............................................................. 434 / 956 ( 45%)\r\n.............................................................. 496 / 956 ( 51%)\r\n.............................................................. 558 / 956 ( 58%)\r\n.............................................................. 620 / 956 ( 64%)\r\n.............................................................. 682 / 956 ( 71%)\r\n.............................................................. 744 / 956 ( 77%)\r\n.............................................................. 806 / 956 ( 84%)\r\n.............................................................. 868 / 956 ( 90%)\r\n.............................................................. 930 / 956 ( 97%)\r\n..........................\r\n\r\nTime: 3.43 minutes, Memory: 47.00Mb\r\n\r\nThere were 7 failures:\r\n\r\n1) League\\CommonMark\\Tests\\Functional\\BinTest::testNoArgsOrStdin\r\nFailed asserting that 'Failed without error message: C:\\inetpub\\commonmark\\bin\\commonmark' contains \"Usage:\".\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\BinTest.php:19\r\n\r\n2) League\\CommonMark\\Tests\\Functional\\BinTest::testHelpShortFlag\r\nFailed asserting that 1 matches expected 0.\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\BinTest.php:31\r\n\r\n3) League\\CommonMark\\Tests\\Functional\\BinTest::testHelpOption\r\nFailed asserting that 1 matches expected 0.\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\BinTest.php:44\r\n\r\n4) League\\CommonMark\\Tests\\Functional\\BinTest::testUnknownOption\r\nFailed asserting that 'Failed without error message: C:\\inetpub\\commonmark\\bin\\commonmark --foo' contains \"Unknown option\".\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\BinTest.php:58\r\n\r\n5) League\\CommonMark\\Tests\\Functional\\BinTest::testFileArgument\r\nFailed asserting that 1 matches expected 0.\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\BinTest.php:70\r\n\r\n6) League\\CommonMark\\Tests\\Functional\\BinTest::testStdin\r\nFailed asserting that 1 matches expected 0.\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\BinTest.php:83\r\n\r\n7) League\\CommonMark\\Tests\\Functional\\LocalDataTest::testExample with data set #0 ('# H1\\n\\n## H2\\n\\n### H3\\n\\n#### H4\\n...#####\\n', '<h1>H1</h1>\\n<h2>H2</h2>\\n<h3>H...</h6>\\n', 'atx_header')\r\nUnexpected result for \"atx_header\" test\r\n=== markdown ===============\r\n# H1\r\n\r\n## H2\r\n\r\n### H3\r\n\r\n#### H4\r\n\r\n##### H5\r\n\r\n###### H6\r\n\r\n# H1 #\r\n\r\n## H2 ##\r\n\r\n### H3 ###\r\n\r\n#### H4 ####\r\n\r\n##### H5 #####\r\n\r\n###### H6 ######\r\n\r\n=== expected ===============\r\n<h1>H1</h1>\r\n<h2>H2</h2>\r\n<h3>H3</h3>\r\n<h4>H4</h4>\r\n<h5>H5</h5>\r\n<h6>H6</h6>\r\n<h1>H1</h1>\r\n<h2>H2</h2>\r\n<h3>H3</h3>\r\n<h4>H4</h4>\r\n<h5>H5</h5>\r\n<h6>H6</h6>\r\n\r\n=== got ====================\r\n<h1>H1</h1>\r\n<h2>H2</h2>\r\n<h3>H3</h3>\r\n<h4>H4</h4>\r\n<h5>H5</h5>\r\n<h6>H6</h6>\r\n<h1>H1</h1>\r\n<h2>H2</h2>\r\n<h3>H3</h3>\r\n<h4>H4</h4>\r\n<h5>H5</h5>\r\n<h6>H6</h6>\r\n\r\nFailed asserting that two strings are equal.\r\n--- Expected\r\n+++ Actual\r\n@@ @@\r\n '<h1>H1</h1>\r\n <h2>H2</h2>\r\n <h3>H3</h3>\r\n <h4>H4</h4>\r\n <h5>H5</h5>\r\n <h6>H6</h6>\r\n <h1>H1</h1>\r\n <h2>H2</h2>\r\n <h3>H3</h3>\r\n <h4>H4</h4>\r\n <h5>H5</h5>\r\n <h6>H6</h6>\r\n '\r\n\r\nC:\\inetpub\\commonmark\\tests\\functional\\LocalDataTest.php:52\r\n\r\nFAILURES!\r\nTests: 956, Assertions: 1312, Failures: 7.\r\n\r\nGenerating code coverage report in Clover XML format ... done\r\n\r\nGenerating code coverage report in HTML format ... done\r\n```"},"comment":{"url":"https://api.github.com/repos/thephpleague/commonmark/issues/comments/147573544","html_url":"https://github.com/thephpleague/commonmark/issues/189#issuecomment-147573544","issue_url":"https://api.github.com/repos/thephpleague/commonmark/issues/189","id":147573544,"user":{"login":"colinodell","id":202034,"avatar_url":"https://avatars.githubusercontent.com/u/202034?v=3","gravatar_id":"","url":"https://api.github.com/users/colinodell","html_url":"https://github.com/colinodell","followers_url":"https://api.github.com/users/colinodell/followers","following_url":"https://api.github.com/users/colinodell/following{/other_user}","gists_url":"https://api.github.com/users/colinodell/gists{/gist_id}","starred_url":"https://api.github.com/users/colinodell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinodell/subscriptions","organizations_url":"https://api.github.com/users/colinodell/orgs","repos_url":"https://api.github.com/users/colinodell/repos","events_url":"https://api.github.com/users/colinodell/events{/privacy}","received_events_url":"https://api.github.com/users/colinodell/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T02:02:29Z","updated_at":"2015-10-13T02:02:29Z","body":"@garethellis36 Sorry for the delay in getting to this.  I've implemented a possible solution via #195 - would you mind testing this when you get a chance?"}}