Title: Bad/misleading failure message when comparing different datatypes · Issue #334 · utPLSQL/utPLSQL · GitHub
Open Graph Title: Bad/misleading failure message when comparing different datatypes · Issue #334 · utPLSQL/utPLSQL
X Title: Bad/misleading failure message when comparing different datatypes · Issue #334 · utPLSQL/utPLSQL
Description: Testing Framework for PL/SQL. Contribute to utPLSQL/utPLSQL development by creating an account on GitHub.
Open Graph Description: Testing Framework for PL/SQL. Contribute to utPLSQL/utPLSQL development by creating an account on GitHub.
X Description: Testing Framework for PL/SQL. Contribute to utPLSQL/utPLSQL development by creating an account on GitHub.
Opengraph URL: https://github.com/utPLSQL/utPLSQL
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bad/misleading failure message when comparing different datatypes","articleBody":"Currently when comparing two different datatypes for equality we get something like below:\r\n```\r\n5) object_compare_different_type\r\n The matcher 'equal' cannot be used with data type (ut3.demo_department_new).\r\n at \"UT3.DEMO_EQUAL_MATCHER\", line 69 ut.expect(anydata.convertObject(l_actual)).to_equal(anydata.convertObject(l_expected));\r\n```\r\nYou can see it on [travis-ci build](https://travis-ci.org/utPLSQL/utPLSQL/jobs/237259472#L1579)\r\n\r\nThis should be more of a message like:\r\n```\r\n The matcher 'equal' cannot be used to compare datatypes (ut3.demo_department_new) and (ut3.demo_department).\r\n```\r\n\r\nThe message is misleading and could make developer think that the matcher is not capable of evaluating the given datatype.","author":{"url":"https://github.com/jgebal","@type":"Person","name":"jgebal"},"datePublished":"2017-05-30T16:58:09Z","url":"https://github.com/utPLSQL/utPLSQL/issues/334"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:88cf1691-ef5b-e7e7-2c7c-ba53b59ec0ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D73A:319AB7:16AFEE:1E5A14:6B04E420 |
| html-safe-nonce | 58c5bf1fde95baa39aa889ca1f35028be232d7970b60508a484b4326dd4af6f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzNBOjMxOUFCNzoxNkFGRUU6MUU1QTE0OjZCMDRFNDIwIiwidmlzaXRvcl9pZCI6IjIwMDM2MjkxNDA0NjQ2OTAyMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 44d302c5a1d83ce05cf7187e26d7d608c1cead6ccfd55949079dc8ee027520ae |
| hovercard-subject-tag | repository:50728220 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/utPLSQL/utPLSQL/issues/334 |
| twitter:image | https://repository-images.githubusercontent.com/50728220/e55d1981-28ca-4df9-bd53-eea99ea74515 |
| twitter:card | summary_large_image |
| og:image | https://repository-images.githubusercontent.com/50728220/e55d1981-28ca-4df9-bd53-eea99ea74515 |
| og:image:alt | Testing Framework for PL/SQL. Contribute to utPLSQL/utPLSQL development by creating an account on GitHub. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 970f03f35f02bb123d2b6f1884601d89a570dc02e5ef9612b1b6ca5c033b1796 |
| turbo-cache-control | no-cache |
| go-import | github.com/utPLSQL/utPLSQL git https://github.com/utPLSQL/utPLSQL.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 50728220 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50728220 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ebcec4199c8521b643c068ef118a1ba9a43b678a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width