René's URL Explorer Experiment


Title: Multiple spaces are replaced by single spaces in failure message · Issue #140 · utPLSQL/utPLSQL-SQLDeveloper · GitHub

Open Graph Title: Multiple spaces are replaced by single spaces in failure message · Issue #140 · utPLSQL/utPLSQL-SQLDeveloper

X Title: Multiple spaces are replaced by single spaces in failure message · Issue #140 · utPLSQL/utPLSQL-SQLDeveloper

Description: When the actual or expected value has multiple consecutive spaces and the test fails, the message on the failures tab shows both values with all multi-spaces replaced by a single one. (See test script below) This is annoying because at f...

Open Graph Description: When the actual or expected value has multiple consecutive spaces and the test fails, the message on the failures tab shows both values with all multi-spaces replaced by a single one. (See test scr...

X Description: When the actual or expected value has multiple consecutive spaces and the test fails, the message on the failures tab shows both values with all multi-spaces replaced by a single one. (See test scr...

Opengraph URL: https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple spaces are replaced by single spaces in failure message","articleBody":"When the actual or expected value has multiple consecutive spaces and the test fails, the message on the failures tab shows both values with all multi-spaces replaced by a single one.\r\n(See test script below)\r\n\r\nThis is annoying because at first I couldn't figure out why a test was failing because the message showed identical strings for actual and expected.\r\nRunning the test from SQLcl showed that actual had an extra space which isn't visible in feedback from the plugin.\r\n\r\n**Test Suite to reproduce**\r\n```\r\ncreate or replace package ut_spaces\r\nauthid definer\r\nis\r\n    -- %suite(Test Plugin Output)\r\n\r\n    -- %context(Multiple spaces in values)\r\n\r\n        -- %test(Multiple spaces in actual)\r\n        procedure multi_space_actual;\r\n\r\n        -- %test(Multiple spaces in expect)\r\n        procedure multi_space_expect;\r\n\r\n    -- %endcontext\r\n\r\nend ut_spaces;\r\n/\r\n\r\ncreate or replace package body ut_spaces\r\nis\r\n\r\n    -- Multiple spaces in actual\r\n    procedure multi_space_actual\r\n    is\r\n        l_expect   varchar2(100);\r\n        l_actual   varchar2(100);\r\n    begin\r\n        l_expect := 'This line has spaces';\r\n        l_actual := 'This          line          has          spaces';\r\n\r\n        ut.expect(l_actual).to_equal(l_expect);\r\n    end;\r\n\r\n\r\n    -- Multiple spaces in expect\r\n    procedure multi_space_expect\r\n    is\r\n        l_expect   varchar2(100);\r\n        l_actual   varchar2(100);\r\n    begin\r\n        l_expect := 'This          line          has          spaces';\r\n        l_actual := 'This line has spaces';\r\n\r\n        ut.expect(l_actual).to_equal(l_expect);\r\n    end;\r\n\r\nend ut_spaces;\r\n/\r\n```\r\n\r\n**In SQL Developer plugin**\r\nRunning hese tests the plugin will report on the Failures tab:\r\n```\r\nActual: 'This line has spaces' (varchar2) was expected to equal: 'This line has spaces' (varchar2)\r\nat \"ERO.UT_SPACES.MULTI_SPACE_ACTUAL\", line 13 ut.expect(l_actual).to_equal(l_expect);\r\n```\r\n\r\nNote how all multiple spaces have been replaced by single spaces.\r\n\r\n**In SQLcl**\r\n```\r\nRunning the tests in SQLcl does show the multiple spaces\r\nERO@EVROCS\u003eexec ut.run ('ut_spaces')\r\nTest Plugin Output\r\n  Multiple spaces in values\r\n    Multiple spaces in actual [,481 sec] (FAILED - 1)\r\n    Multiple spaces in expect [,004 sec] (FAILED - 2)\r\n\r\nFailures:\r\n\r\n  1) multi_space_actual\r\n      Actual: 'This          line          has          spaces' (varchar2) was expected to equal: 'This line has spaces' (varchar2)\r\n      at \"ERO.UT_SPACES.MULTI_SPACE_ACTUAL\", line 13 ut.expect(l_actual).to_equal(l_expect);\r\n\r\n  2) multi_space_expect\r\n      Actual: 'This line has spaces' (varchar2) was expected to equal: 'This          line          has          spaces' (varchar2)\r\n      at \"ERO.UT_SPACES.MULTI_SPACE_EXPECT\", line 26 ut.expect(l_actual).to_equal(l_expect);\r\n\r\nFinished in ,487971 seconds\r\n2 tests, 2 failed, 0 errored, 0 disabled, 0 warning(s)\r\n\r\n\r\nPL/SQL procedure successfully completed.\r\n```\r\n\r\n","author":{"url":"https://github.com/erikvanroon","@type":"Person","name":"erikvanroon"},"datePublished":"2022-01-06T10:58:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/140/utPLSQL-SQLDeveloper/issues/140"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:82fcf882-ff0e-6887-1b42-d35ff5ee867c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8608:1CC3CE:1C29B1D:277B8A9:69692E3D
html-safe-noncebab23ec51afd461e985cf70fc795b2dfce455909c181ebb76ba2f431f97fac20
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjA4OjFDQzNDRToxQzI5QjFEOjI3N0I4QTk6Njk2OTJFM0QiLCJ2aXNpdG9yX2lkIjoiMzg2MTAzMDA1NzMxNTc0MTI0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2b9abb36ac59d9eda3b666ecba0e5e9e2ad386b07609ccefe559ff5462985c32
hovercard-subject-tagissue:1095202988
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/utPLSQL/utPLSQL-SQLDeveloper/140/issue_layout
twitter:imagehttps://opengraph.githubassets.com/69ba40e10cd768e8b162ca387e44855ad7a0bd64ed5496efa13f5570b19e76db/utPLSQL/utPLSQL-SQLDeveloper/issues/140
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69ba40e10cd768e8b162ca387e44855ad7a0bd64ed5496efa13f5570b19e76db/utPLSQL/utPLSQL-SQLDeveloper/issues/140
og:image:altWhen the actual or expected value has multiple consecutive spaces and the test fails, the message on the failures tab shows both values with all multi-spaces replaced by a single one. (See test scr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameerikvanroon
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
go-importgithub.com/utPLSQL/utPLSQL-SQLDeveloper git https://github.com/utPLSQL/utPLSQL-SQLDeveloper.git
octolytics-dimension-user_id15661281
octolytics-dimension-user_loginutPLSQL
octolytics-dimension-repository_id111097428
octolytics-dimension-repository_nwoutPLSQL/utPLSQL-SQLDeveloper
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id111097428
octolytics-dimension-repository_network_root_nwoutPLSQL/utPLSQL-SQLDeveloper
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FutPLSQL%2FutPLSQL-SQLDeveloper%2Fissues%2F140
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FutPLSQL%2FutPLSQL-SQLDeveloper%2Fissues%2F140
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=utPLSQL%2FutPLSQL-SQLDeveloper
Reloadhttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140
Reloadhttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140
Reloadhttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140
utPLSQL https://github.com/utPLSQL
utPLSQL-SQLDeveloperhttps://github.com/utPLSQL/utPLSQL-SQLDeveloper
Notifications https://github.com/login?return_to=%2FutPLSQL%2FutPLSQL-SQLDeveloper
Fork 17 https://github.com/login?return_to=%2FutPLSQL%2FutPLSQL-SQLDeveloper
Star 66 https://github.com/login?return_to=%2FutPLSQL%2FutPLSQL-SQLDeveloper
Code https://github.com/utPLSQL/utPLSQL-SQLDeveloper
Issues 2 https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues
Pull requests 1 https://github.com/utPLSQL/utPLSQL-SQLDeveloper/pulls
Actions https://github.com/utPLSQL/utPLSQL-SQLDeveloper/actions
Projects 0 https://github.com/utPLSQL/utPLSQL-SQLDeveloper/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/utPLSQL/utPLSQL-SQLDeveloper/security
Please reload this pagehttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140
Insights https://github.com/utPLSQL/utPLSQL-SQLDeveloper/pulse
Code https://github.com/utPLSQL/utPLSQL-SQLDeveloper
Issues https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues
Pull requests https://github.com/utPLSQL/utPLSQL-SQLDeveloper/pulls
Actions https://github.com/utPLSQL/utPLSQL-SQLDeveloper/actions
Projects https://github.com/utPLSQL/utPLSQL-SQLDeveloper/projects
Security https://github.com/utPLSQL/utPLSQL-SQLDeveloper/security
Insights https://github.com/utPLSQL/utPLSQL-SQLDeveloper/pulse
New issuehttps://github.com/login?return_to=https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140
New issuehttps://github.com/login?return_to=https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140
Multiple spaces are replaced by single spaces in failure messagehttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140#top
https://github.com/PhilippSalvisberg
bughttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues?q=state%3Aopen%20label%3A%22bug%22
v1.4.0https://github.com/utPLSQL/utPLSQL-SQLDeveloper/milestone/18
https://github.com/erikvanroon
https://github.com/erikvanroon
erikvanroonhttps://github.com/erikvanroon
on Jan 6, 2022https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/140#issue-1095202988
PhilippSalvisberghttps://github.com/PhilippSalvisberg
bughttps://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues?q=state%3Aopen%20label%3A%22bug%22
v1.4.0https://github.com/utPLSQL/utPLSQL-SQLDeveloper/milestone/18
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.