Tcl Source Code

View Ticket
Login
Ticket UUID: 3869fc11a9734fdb3bba10e9e98c3fd9d579d127
Title: TIP 472 tests fail
Type: Bug Version: trunk
Submitter: dgp Created on: 2017-06-23 12:34:11
Subsystem: 10. Objects Assigned To: dgp
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2017-06-23 12:39:16
Resolution: Fixed Closed By: dgp
    Closed on: 2017-06-23 12:39:16
Description:
==== format-1.14.1 integer formatting FAILED
==== Contents of test case:

    format "%#5d %#20d %#20d %#20d %#20d" 0 6 34 16923 -12 -1

---- Result was:
  0d0                  0d6                 0d34              0d16923                -0d12
---- Result should have been (exact matching):
  0d0                  0d6                 0d34              0d16923           -0d12
==== format-1.14.1 FAILED



==== format-1.15.1 integer formatting FAILED
==== Contents of test case:

    format "%-#5d %-#20d %-#20d %-#20d %-#20d" 0 6 34 16923 -12 -1

---- Result was:
0d0   0d6                  0d34                 0d16923              -0d12               
---- Result should have been (exact matching):
0d0   0d6                  0d34                 0d16923              -0d12      
==== format-1.15.1 FAILED
User Comments: dgp added on 2017-06-23 12:39:16:
Appears to be just a miscount in the number
of spaces in the expected result. Fix committed.