Changeset bb1eabc for tests/collections


Ignore:
Timestamp:
May 4, 2026, 7:26:38 AM (5 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
244335b
Parents:
8403b32
Message:

harmonize output quote manipulator with input quote manipulator, adding left/right quote parameters

Location:
tests/collections
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/collections/.expect/string-ostream.txt

    r8403b32 rbb1eabc  
    11string
    2 abcd "abcd"     abcd   "abcd"   abcd abcd     "abcd" 
    3 abcd "abcd"     abcd   "abcd"   abcd abcd     "abcd" 
     2abcd "abcd"     abcd   "abcd"   'abcd'   <abcd>   abcd abcd     "abcd" 
     3abcd "abcd"     abcd   "abcd"   'abcd'   <abcd>   abcd abcd     "abcd" 
    44141 142 143 144 0141 0142 0143 0144      141      142      143      144 0141     0142     0143     0144   
    55141 142 143 144 0141 0142 0143 0144      141      142      143      144 0141     0142     0143     0144   
  • tests/collections/string-ostream.cfa

    r8403b32 rbb1eabc  
    88// Created On       : Sat May  2 18:02:34 2026
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Sat May  2 19:06:22 2026
    11 // Update Count     : 7
     10// Last Modified On : Sun May  3 23:31:07 2026
     11// Update Count     : 8
    1212//
    1313
     
    1818        sout | "string";
    1919        const char * cs = "abcd";
    20         sout | cs | quote( cs ) | wd(8,cs) | quote(wd(8,cs)) | wd(6,8,cs) | left(wd(8,cs)) | quote(left(wd(8,cs)));
     20        sout | cs | quote(cs) | wd(8,cs) | quote(wd(8,cs)) | quote(wd(8,cs), '\'')| quote(wd(8,cs), '<', '>')
     21                 | wd(6,8,cs) | left(wd(8,cs)) | quote(left(wd(8,cs)));
    2122        string s = "abcd";
    22         sout | s | quote( s ) | wd(8,s) | quote(wd(8,s)) | wd(6,8,s) | left(wd(8,s)) | quote(left(wd(8,s)));
     23        sout | s | quote(s) | wd(8,s) | quote(wd(8,s)) | quote(wd(8,s), '\'')| quote(wd(8,s), '<', '>')
     24                 | wd(6,8,s) | left(wd(8,s)) | quote(left(wd(8,s)));
    2325
    2426        sout | nobase(oct(cs)) | upcase(oct(cs)) | nobase(wd(8,oct(cs))) | left(wd(-8,oct(cs)));
Note: See TracChangeset for help on using the changeset viewer.