{"action":"created","issue":{"url":"https://api.github.com/repos/trufflesuite/truffle/issues/1199","repository_url":"https://api.github.com/repos/trufflesuite/truffle","labels_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1199/labels{/name}","comments_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1199/comments","events_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1199/events","html_url":"https://github.com/trufflesuite/truffle/issues/1199","id":351889125,"node_id":"MDU6SXNzdWUzNTE4ODkxMjU=","number":1199,"title":"v5 Solidity tests: Assert doesn’t work","user":{"login":"dwardu","id":497145,"node_id":"MDQ6VXNlcjQ5NzE0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/497145?v=4","gravatar_id":"","url":"https://api.github.com/users/dwardu","html_url":"https://github.com/dwardu","followers_url":"https://api.github.com/users/dwardu/followers","following_url":"https://api.github.com/users/dwardu/following{/other_user}","gists_url":"https://api.github.com/users/dwardu/gists{/gist_id}","starred_url":"https://api.github.com/users/dwardu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwardu/subscriptions","organizations_url":"https://api.github.com/users/dwardu/orgs","repos_url":"https://api.github.com/users/dwardu/repos","events_url":"https://api.github.com/users/dwardu/events{/privacy}","received_events_url":"https://api.github.com/users/dwardu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-19T09:41:13Z","updated_at":"2018-08-19T21:05:53Z","closed_at":null,"author_association":"NONE","body":"- [ ] I've asked for help in the [Truffle Gitter](http://gitter.im/Consensys/truffle) before filing this issue.\r\n\r\n---------------------------\r\n\r\n## Issue\r\n\r\nIn truffle@next, in Solidity tests, `Assert.fail()` doesn’t fail the test.\r\n\r\n## Steps to Reproduce\r\n\r\nRun this test:\r\n\r\n```solidity\r\npragma solidity ^0.4.24;\r\nimport \"truffle/Assert.sol\";\r\ncontract TestTruffleAssert {\r\n    function testAssertFail() public {\r\n        Assert.fail(\"If test fails with this message, Assert.fail is working\");\r\n    }\r\n}\r\n```\r\n\r\n`Assert.equal`, `Assert.notEqual`, and possibly all the rest, also do not work.\r\n\r\n## Expected Behavior\r\n\r\nAs in Truffle v4.1.14:\r\n\r\n```\r\n  0 passing (2s)\r\n  1 failing\r\n\r\n  1) TestTruffleAssert\r\n       testAssertFail:\r\n     Error: If test fails with this message, Assert.fail is working\r\n```\r\n\r\n## Actual Results\r\n\r\n```\r\n  TestTruffleAssert\r\n    ✓ testAssertFail (480ms)\r\n  1 passing (9s)\r\n```\r\n\r\n## Environment\r\n\r\n* Operating System: Ubuntu 16.04\r\n* Ethereum client: Ganache CLI v6.1.8 (ganache-core: 2.2.1)\r\n* Truffle version (`truffle version`): v5.0.0-next.9\r\n* node version (`node --version`): v10.9.0\r\n* npm version (`npm --version`): 6.2.0\r\n"},"comment":{"url":"https://api.github.com/repos/trufflesuite/truffle/issues/comments/414155868","html_url":"https://github.com/trufflesuite/truffle/issues/1199#issuecomment-414155868","issue_url":"https://api.github.com/repos/trufflesuite/truffle/issues/1199","id":414155868,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDE1NTg2OA==","user":{"login":"dwardu","id":497145,"node_id":"MDQ6VXNlcjQ5NzE0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/497145?v=4","gravatar_id":"","url":"https://api.github.com/users/dwardu","html_url":"https://github.com/dwardu","followers_url":"https://api.github.com/users/dwardu/followers","following_url":"https://api.github.com/users/dwardu/following{/other_user}","gists_url":"https://api.github.com/users/dwardu/gists{/gist_id}","starred_url":"https://api.github.com/users/dwardu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwardu/subscriptions","organizations_url":"https://api.github.com/users/dwardu/orgs","repos_url":"https://api.github.com/users/dwardu/repos","events_url":"https://api.github.com/users/dwardu/events{/privacy}","received_events_url":"https://api.github.com/users/dwardu/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T21:05:53Z","updated_at":"2018-08-19T21:05:53Z","author_association":"NONE","body":"Thanks @cgewecke!"}}
{"actor":{"display_login":"dwardu"}}