← 输入框|github.com|刷新
Skip to content

UT_)TAP_REPORTER tests fail on latest DB 23.26 #1358

Closed

Description

@jgebal

Describe the bug
Since 3rd of June 2026 utPLSQL self-tests started to fail on ut_tap_reporter.

Provide version info
utPLSQL 3.2.2
DB version gvenzl/oracle-free:23-slim-faststart
Information about utPLSQL and Database version,

To Reproduce

begin
   ut.run('ut3_user.test_tap_reporter');
end;
/

The error is as in pipeline logs:

      Actual: (clob)
          'TAP version 14
          1..1
           
          # Subtest: org
              1..1
              # Subtest: utplsql
                  1..1
                  # Subtest: tests
                      1..1
                      # Subtest: helpers
                          1..1
                          # Subtest: A suite for testing different outcomes from reporters
                              1..1
                              # <!beforeall!>
                              # 
                              # Subtest: A description of some context
                                  1..1
                                  ok - passing_test
                                  # <!beforeeach!>
                                  # <!beforetest!>
                                  # <!passing test!>
                                  # <!aftertest!>
                                  # <!aftereach!>
                                  # 
                              # <!afterall!>
                              # 
          ok - org
           '
       was expected to match: 
          'TAP version 14\s*1..1\s*# Subtest: org\s{5}1..1\s{5}# Subtest: utplsql\s{9}1..1\s{9}# Subtest: tests\s{13}1..1\s{13}# Subtest: helpers\s{17}1..1\s{17}# Subtest: A suite for testing different outcomes from reporters\s{21}1..1\s{21}# <!beforeall!>\s{21}# Subtest: A description of some context\s{25}1..1\s{25}ok - passing_test\s{25}# <!beforeeach!>\s{25}# <!beforetest!>\s{25}# <!passing test!>\s{25}# <!aftertest!>\s{25}# <!aftereach!>\s{21}# <!afterall!>\sok - org\s*'

The problem is that the reporter is now adding additional '#' at the end of line for empty lines (end of line).

Expected behavior

The expected behavior is to have:

                              1..1
                              # <!beforeall!>

                              # Subtest: A description of some context

but instead we have:

                              1..1
                              # <!beforeall!>
                              # 
                              # Subtest: A description of some context

Activity

  1. self-assigned this
    on Jun 4, 2026
  2. added a commit that references this issue on Aug 21, 2026
    54b772b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions