{"action":"created","issue":{"url":"https://api.github.com/repos/shouldjs/should.js/issues/87","labels_url":"https://api.github.com/repos/shouldjs/should.js/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/shouldjs/should.js/issues/87/comments","events_url":"https://api.github.com/repos/shouldjs/should.js/issues/87/events","html_url":"https://github.com/shouldjs/should.js/issues/87","id":112328278,"number":87,"title":"Cannot convert a Symbol value to a string","user":{"login":"dmytro-lymarenko","id":14829154,"avatar_url":"https://avatars.githubusercontent.com/u/14829154?v=3","gravatar_id":"","url":"https://api.github.com/users/dmytro-lymarenko","html_url":"https://github.com/dmytro-lymarenko","followers_url":"https://api.github.com/users/dmytro-lymarenko/followers","following_url":"https://api.github.com/users/dmytro-lymarenko/following{/other_user}","gists_url":"https://api.github.com/users/dmytro-lymarenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dmytro-lymarenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmytro-lymarenko/subscriptions","organizations_url":"https://api.github.com/users/dmytro-lymarenko/orgs","repos_url":"https://api.github.com/users/dmytro-lymarenko/repos","events_url":"https://api.github.com/users/dmytro-lymarenko/events{/privacy}","received_events_url":"https://api.github.com/users/dmytro-lymarenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-20T09:52:40Z","updated_at":"2015-10-20T09:59:07Z","closed_at":null,"body":"```\r\nconst destinations = {\r\n\tEurope: ['Amsterdam', 'London', 'Kiev'],\r\n\tAmerica: ['New York', 'San Francisco']\r\n};\r\n\r\nsr = TestUtils.createRenderer();\r\nsr.render(<SelectDestination destinations={destinations} />);\r\ntree = sr.getRenderOutput();\r\n```\r\n`should(tree.props.children).be.Array().and.have.length(1);` - throw the error:\r\n```\r\nTypeError: Cannot convert a Symbol value to a string\r\n      at Formatter.String (native)\r\n      at Formatter.format (node_modules/should/node_modules/should-format/index.js:39:14)\r\n      at Formatter.formatPropertyValue (node_modules/should/node_modules/should-format/index.js:146:23)\r\n      at Formatter.<anonymous> (node_modules/should/node_modules/should-format/index.js:61:72)\r\n      at Array.forEach (native)\r\n      at Formatter._formatObject (node_modules/should/node_modules/should-format/index.js:56:14)\r\n      at Formatter.<anonymous> (node_modules/should/node_modules/should-format/index.js:271:15)\r\n      at Formatter.format (node_modules/should/node_modules/should-format/index.js:39:14)\r\n      at Formatter.formatPropertyValue (node_modules/should/node_modules/should-format/index.js:146:23)\r\n      at Formatter.<anonymous> (node_modules/should/node_modules/should-format/index.js:61:72)\r\n      at Array.forEach (native)\r\n      at Formatter._formatObject (node_modules/should/node_modules/should-format/index.js:56:14)\r\n      at Formatter._format_object_array (node_modules/should/node_modules/should-format/index.js:287:15)\r\n      at Formatter.format (node_modules/should/node_modules/should-format/index.js:39:14)\r\n      at Object.exports.format (node_modules/should/lib/util.js:128:36)\r\n      at Error.Object.create.generateMessage.value (node_modules/should/lib/assertion-error.js:75:25)\r\n      at Error.AssertionError.Object.defineProperty.get (node_modules/should/lib/assertion-error.js:17:34)\r\n      at Error.Object.create.generateMessage.value (node_modules/should/lib/assertion-error.js:73:29)\r\n      at Error.AssertionError.Object.defineProperty.get (node_modules/should/lib/assertion-error.js:17:34)\r\n      at Error.Object.create.generateMessage.value (node_modules/should/lib/assertion-error.js:73:29)\r\n      at Error.AssertionError.Object.defineProperty.get (node_modules/should/lib/assertion-error.js:17:34)\r\n      at Error.toString (native)\r\n      at Function.prepareStackTrace (node_modules/babel/node_modules/babel-core/node_modules/source-map-support/source-map-support.js:303:16).\r\n```\r\n`console.log(tree.props.children);` output the following:\r\n```\r\n[ { '$$typeof': Symbol(react.element),\r\n    type: 'div',\r\n    key: null,\r\n    ref: null,\r\n    props: { className: 'citySelect', tabIndex: '-1', children: [Object] },\r\n    _owner: null,\r\n    _store: {} },\r\n  { '$$typeof': Symbol(react.element),\r\n    type: { [Function] displayName: 'DestinationsContainer' },\r\n    key: null,\r\n    ref: null,\r\n    props: \r\n     { containerStyle: [Object],\r\n       destinations: [Object],\r\n       selectCity: [Object] },\r\n    _owner: null,\r\n    _store: {} } ]\r\n```\r\nwhen I check `should(tree.props.children).be.Array().and.have.length(2);` it works properly.\r\nI also checked `['a', 'b'].should.have.length(1);` - it works properly."},"comment":{"url":"https://api.github.com/repos/shouldjs/should.js/issues/comments/149502850","html_url":"https://github.com/shouldjs/should.js/issues/87#issuecomment-149502850","issue_url":"https://api.github.com/repos/shouldjs/should.js/issues/87","id":149502850,"user":{"login":"btd","id":334851,"avatar_url":"https://avatars.githubusercontent.com/u/334851?v=3","gravatar_id":"","url":"https://api.github.com/users/btd","html_url":"https://github.com/btd","followers_url":"https://api.github.com/users/btd/followers","following_url":"https://api.github.com/users/btd/following{/other_user}","gists_url":"https://api.github.com/users/btd/gists{/gist_id}","starred_url":"https://api.github.com/users/btd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btd/subscriptions","organizations_url":"https://api.github.com/users/btd/orgs","repos_url":"https://api.github.com/users/btd/repos","events_url":"https://api.github.com/users/btd/events{/privacy}","received_events_url":"https://api.github.com/users/btd/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T09:59:07Z","updated_at":"2015-10-20T09:59:07Z","body":"By stacktrace problem in formatter. To be sure where you have error (node/browser, which version) and which version of should.js you are using?"}}