{"action":"created","issue":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/199","labels_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/199/comments","events_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/199/events","html_url":"https://github.com/unexpectedjs/unexpected/pull/199","id":98250972,"number":199,"title":"Stop highlighting partial matches weirdly in text mode.","user":{"login":"papandreou","id":373545,"avatar_url":"https://avatars.githubusercontent.com/u/373545?v=3","gravatar_id":"","url":"https://api.github.com/users/papandreou","html_url":"https://github.com/papandreou","followers_url":"https://api.github.com/users/papandreou/followers","following_url":"https://api.github.com/users/papandreou/following{/other_user}","gists_url":"https://api.github.com/users/papandreou/gists{/gist_id}","starred_url":"https://api.github.com/users/papandreou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papandreou/subscriptions","organizations_url":"https://api.github.com/users/papandreou/orgs","repos_url":"https://api.github.com/users/papandreou/repos","events_url":"https://api.github.com/users/papandreou/events{/privacy}","received_events_url":"https://api.github.com/users/papandreou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-30T20:00:07Z","updated_at":"2015-07-31T09:08:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/pulls/199","html_url":"https://github.com/unexpectedjs/unexpected/pull/199","diff_url":"https://github.com/unexpectedjs/unexpected/pull/199.diff","patch_url":"https://github.com/unexpectedjs/unexpected/pull/199.patch"},"body":"Also made the `partialMatch` style a special mode of the `match` style."},"comment":{"url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/comments/126615374","html_url":"https://github.com/unexpectedjs/unexpected/pull/199#issuecomment-126615374","issue_url":"https://api.github.com/repos/unexpectedjs/unexpected/issues/199","id":126615374,"user":{"login":"papandreou","id":373545,"avatar_url":"https://avatars.githubusercontent.com/u/373545?v=3","gravatar_id":"","url":"https://api.github.com/users/papandreou","html_url":"https://github.com/papandreou","followers_url":"https://api.github.com/users/papandreou/followers","following_url":"https://api.github.com/users/papandreou/following{/other_user}","gists_url":"https://api.github.com/users/papandreou/gists{/gist_id}","starred_url":"https://api.github.com/users/papandreou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papandreou/subscriptions","organizations_url":"https://api.github.com/users/papandreou/orgs","repos_url":"https://api.github.com/users/papandreou/repos","events_url":"https://api.github.com/users/papandreou/events{/privacy}","received_events_url":"https://api.github.com/users/papandreou/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T09:08:38Z","updated_at":"2015-07-31T09:08:38Z","body":"I think this is good to go out now.\r\n\r\nI added some regression tests of the ansi messages that make me really want to implement support for specifying the expected message for a given serialization as a magicpen instance, something like this:\r\n\r\n```js\r\nexpect(err, 'to have ansi message',\r\n    expect.output.clone('ansi')\r\n        .error('expected ').appendInspected(...)...\r\n);\r\n```\r\n\r\nOr maybe allowing a function that will receive a pen that's already initialized to use the given format:\r\n\r\n```\r\nexpect(err, 'to have ansi message', function () {\r\n    this.error('expected ').appendInspected(...)...\r\n});\r\n```\r\n\r\nAnd maybe even `to have (text|ansi|html) diff` as the error message part of the output is rarely that interesting.\r\n\r\nWhat do you think?"}}