Title: Nested Contexts get mixed up · Issue #1034 · utPLSQL/utPLSQL · GitHub
Open Graph Title: Nested Contexts get mixed up · Issue #1034 · utPLSQL/utPLSQL
X Title: Nested Contexts get mixed up · Issue #1034 · utPLSQL/utPLSQL
Description: utPLSQL-Version: 3.1.9 Consider the following test-suite with nested-contexts: create or replace package ut_context_test as -- %suite(Context Test) -- %suitepath(context) -- %context(Level 1) -- %context(Level 1.1) -- %test(Test 1.1.1) p...
Open Graph Description: utPLSQL-Version: 3.1.9 Consider the following test-suite with nested-contexts: create or replace package ut_context_test as -- %suite(Context Test) -- %suitepath(context) -- %context(Level 1) -- %c...
X Description: utPLSQL-Version: 3.1.9 Consider the following test-suite with nested-contexts: create or replace package ut_context_test as -- %suite(Context Test) -- %suitepath(context) -- %context(Level 1) -- %c...
Opengraph URL: https://github.com/utPLSQL/utPLSQL/issues/1034
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nested Contexts get mixed up","articleBody":"utPLSQL-Version: 3.1.9\r\n\r\nConsider the following test-suite with nested-contexts:\r\n\r\n```sql\r\ncreate or replace package ut_context_test as\r\n\r\n -- %suite(Context Test)\r\n -- %suitepath(context)\r\n\r\n -- %context(Level 1)\r\n\r\n -- %context(Level 1.1)\r\n\r\n -- %test(Test 1.1.1)\r\n procedure test_1_1_1;\r\n -- %test(Test 1.1.2)\r\n procedure test_1_1_2;\r\n\r\n -- %endcontext\r\n\r\n -- %endcontext\r\n\r\n -- %context(Level 2)\r\n\r\n -- %test(Test 2.1)\r\n procedure test_2_1;\r\n\r\n -- %endcontext\r\nend;\r\n/\r\n```\r\n\r\nExpectation would be:\r\n```\r\ncontext\r\n Context Test\r\n Level 1\r\n Level 1.1\r\n Test 1.1.1 [,016 sec] (FAILED - 2)\r\n Test 1.1.2 [,005 sec] (FAILED - 3)\r\n Level 2\r\n Test 2.1 [,016 sec] (FAILED - 1)\r\n```\r\n\r\nBut at the moment it's interpreted like that:\r\n```\r\ncontext\r\n Context Test\r\n Level 1\r\n Level 2\r\n Test 2.1 [,016 sec] (FAILED - 1)\r\n Level 1.1\r\n Test 1.1.1 [,016 sec] (FAILED - 2)\r\n Test 1.1.2 [,005 sec] (FAILED - 3)\r\n```\r\n\r\nIt looks like consecutive `%endcontext` are not interpreted correctly so that termination doesn't happen at the correct time/place","author":{"url":"https://github.com/pesse","@type":"Person","name":"pesse"},"datePublished":"2019-12-19T09:30:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1034/utPLSQL/issues/1034"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9aebeb45-3bd7-6035-e64c-4d9ac5739fd2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E556:22A873:986197:DA4339:6A637F8B |
| html-safe-nonce | 3ef9cba805b0b93ebe1b181301460399d300fc091e28dcbd26723a143fe174e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTU2OjIyQTg3Mzo5ODYxOTc6REE0MzM5OjZBNjM3RjhCIiwidmlzaXRvcl9pZCI6IjY3NjI0NDgxNTg0ODMyNTEwODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1312f75f2088acbcf809cb35b7e1028b217a091cd7ecf769c861c5b37a3b413c |
| hovercard-subject-tag | issue:540188111 |
| 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/_view_fragments/issues/show/utPLSQL/utPLSQL/1034/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80c96c3913f870cc8b7635e30d3e976c90bcacaba016c2fd613c5b57f80a21a3/utPLSQL/utPLSQL/issues/1034 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80c96c3913f870cc8b7635e30d3e976c90bcacaba016c2fd613c5b57f80a21a3/utPLSQL/utPLSQL/issues/1034 |
| og:image:alt | utPLSQL-Version: 3.1.9 Consider the following test-suite with nested-contexts: create or replace package ut_context_test as -- %suite(Context Test) -- %suitepath(context) -- %context(Level 1) -- %c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pesse |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| turbo-cache-control | no-preview |
| 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 | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width