{"action":"closed","issue":{"url":"https://api.github.com/repos/vinniefalco/Beast/issues/56","repository_url":"https://api.github.com/repos/vinniefalco/Beast","labels_url":"https://api.github.com/repos/vinniefalco/Beast/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/vinniefalco/Beast/issues/56/comments","events_url":"https://api.github.com/repos/vinniefalco/Beast/issues/56/events","html_url":"https://github.com/vinniefalco/Beast/issues/56","id":172176768,"number":56,"title":"Order of output using suite::log","user":{"login":"vinniefalco","id":1503976,"avatar_url":"https://avatars.githubusercontent.com/u/1503976?v=3","gravatar_id":"","url":"https://api.github.com/users/vinniefalco","html_url":"https://github.com/vinniefalco","followers_url":"https://api.github.com/users/vinniefalco/followers","following_url":"https://api.github.com/users/vinniefalco/following{/other_user}","gists_url":"https://api.github.com/users/vinniefalco/gists{/gist_id}","starred_url":"https://api.github.com/users/vinniefalco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinniefalco/subscriptions","organizations_url":"https://api.github.com/users/vinniefalco/orgs","repos_url":"https://api.github.com/users/vinniefalco/repos","events_url":"https://api.github.com/users/vinniefalco/events{/privacy}","received_events_url":"https://api.github.com/users/vinniefalco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-19T17:06:22Z","updated_at":"2016-08-26T17:43:08Z","closed_at":"2016-08-26T17:43:08Z","body":"if you use `suite::log` before calling `pass` or `fail` (directly or indirectly) the output is out of order. e.g.:\r\n```\r\nnudb.test.callgrind\r\n0 inserts\r\nnudb.test.recover\r\n10 inserts\r\n```\r\nshould read\r\n```\r\nnudb.test.callgrind\r\nnudb.test.recover\r\n0 inserts\r\n10 inserts\r\n```\r\nThe easy fix is to output the suite preamble when writing to the log for the first time, if the preamble has not already been output.\r\n\r\nA workaround is to call\r\n```\r\n        testcase(\"\");\r\n```\r\nfrom overrides of `suite::run` as needed.\r\n"}}
{"actor":{"display_login":"vinniefalco"}}