{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/1969","repository_url":"https://api.github.com/repos/spf13/hugo","labels_url":"https://api.github.com/repos/spf13/hugo/issues/1969/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/1969/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/1969/events","html_url":"https://github.com/spf13/hugo/issues/1969","id":140472511,"number":1969,"title":"helpers: TestCodeFence test FAIL with Pygments 2.1 (since Jan 2016)","user":{"login":"anthonyfok","id":1274764,"avatar_url":"https://avatars.githubusercontent.com/u/1274764?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spf13/hugo/milestones/9","html_url":"https://github.com/spf13/hugo/milestones/v0.16","labels_url":"https://api.github.com/repos/spf13/hugo/milestones/9/labels","id":1431569,"number":9,"title":"v0.16","description":"","creator":{"login":"anthonyfok","id":1274764,"avatar_url":"https://avatars.githubusercontent.com/u/1274764?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":30,"state":"open","created_at":"2015-11-26T18:24:58Z","updated_at":"2016-03-14T13:10:34Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-03-13T10:22:48Z","updated_at":"2016-03-14T15:18:27Z","closed_at":"2016-03-13T21:16:35Z","body":"On my local Debian GNU/Linux go1.6 installation, running `go test ./...` on current Hugo master fails:\r\n\r\n```\r\n--- FAIL: TestCodeFence (0.53s)\r\n\tcontent_renderer_test.go:69: Test 0 failed. BlackFriday enabled:true, Expected:\r\n\t\t\"<div class=\\\"highlight\\\"><pre><code class=\\\"language-html\\\" data-lang=\\\"html\\\"><span class=\\\"nt\\\">&lt;html&gt;&lt;/html&gt;</span>\\n</code></pre></div>\\n\" got:\r\n\t\t\"<div class=\\\"highlight\\\"><pre><code class=\\\"language-html\\\" data-lang=\\\"html\\\"><span class=\\\"p\\\">&lt;</span><span class=\\\"nt\\\">html</span><span class=\\\"p\\\">&gt;&lt;/</span><span class=\\\"nt\\\">html</span><span class=\\\"p\\\">&gt;</span>\\n</code></pre></div>\\n\"\r\n\tcontent_renderer_test.go:74: Test 0 failed. Mmark enabled:true, Expected:\r\n\t\t\"<div class=\\\"highlight\\\"><pre><code class=\\\"language-html\\\" data-lang=\\\"html\\\"><span class=\\\"nt\\\">&lt;html&gt;&lt;/html&gt;</span>\\n</code></pre></div>\\n\" got:\r\n\t\t\"<div class=\\\"highlight\\\"><pre><code class=\\\"language-html\\\" data-lang=\\\"html\\\"><span class=\\\"p\\\">&lt;</span><span class=\\\"nt\\\">html</span><span class=\\\"p\\\">&gt;&lt;/</span><span class=\\\"nt\\\">html</span><span class=\\\"p\\\">&gt;</span>\\n</code></pre></div>\\n\"\r\nFAIL\r\nFAIL\tgithub.com/spf13/hugo/helpers\t0.558s\r\n```\r\n\r\nWhat perplexed me was that our Travis CI tests etc. all pass.  It took me a while to realize that TestCodeFence() is only run when Pygments is available, whereas none of our automated CIs environment install Pygments."},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/196364456","html_url":"https://github.com/spf13/hugo/issues/1969#issuecomment-196364456","issue_url":"https://api.github.com/repos/spf13/hugo/issues/1969","id":196364456,"user":{"login":"anthonyfok","id":1274764,"avatar_url":"https://avatars.githubusercontent.com/u/1274764?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T15:18:27Z","updated_at":"2016-03-14T15:18:27Z","body":"Wow, that was a really quick and thorough fix!  Thank you @bep!"}}