{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/37662","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37662/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37662/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37662/events","html_url":"https://github.com/Homebrew/homebrew/pull/37662","id":60938618,"number":37662,"title":"fmdiff: modernize","user":{"login":"bfontaine","id":1334295,"avatar_url":"https://avatars.githubusercontent.com/u/1334295?v=3","gravatar_id":"","url":"https://api.github.com/users/bfontaine","html_url":"https://github.com/bfontaine","followers_url":"https://api.github.com/users/bfontaine/followers","following_url":"https://api.github.com/users/bfontaine/following{/other_user}","gists_url":"https://api.github.com/users/bfontaine/gists{/gist_id}","starred_url":"https://api.github.com/users/bfontaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfontaine/subscriptions","organizations_url":"https://api.github.com/users/bfontaine/orgs","repos_url":"https://api.github.com/users/bfontaine/repos","events_url":"https://api.github.com/users/bfontaine/events{/privacy}","received_events_url":"https://api.github.com/users/bfontaine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-12T23:45:51Z","updated_at":"2015-03-13T11:16:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37662","html_url":"https://github.com/Homebrew/homebrew/pull/37662","diff_url":"https://github.com/Homebrew/homebrew/pull/37662.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/37662.patch"},"body":"I can’t find a way to write a test, all tools have a GUI and no `--help`/`--version` flags."},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/78923833","html_url":"https://github.com/Homebrew/homebrew/pull/37662#issuecomment-78923833","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37662","id":78923833,"user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"created_at":"2015-03-13T11:16:01Z","updated_at":"2015-03-13T11:16:01Z","body":"> I can’t find a way to write a test, all tools have a GUI and no --help/--version flags.\r\n\r\nProbably just do a `File.exist?` type test?"}}