Changeset da22726 for tests


Ignore:
Timestamp:
Feb 11, 2024, 3:11:26 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
6b228cae
Parents:
75e2286
Message:

switch from '\n' to nl, update test data

Location:
tests/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/io/.in/manipulatorsInput.txt

    r75e2286 rda22726  
    1313@# this line 1)-{}%
    1414@# this line 2)-{}%
    15 "abc"
     15    "abc"
    1616'abc  '
    1717{ d d
     
    3535@# this line 1)-{}%
    3636@# this line 2)-{}%
    37 "abc"
     37    "abc"
    3838'abc  '
    3939{ d d
  • tests/io/manipulatorsInput.cfa

    r75e2286 rda22726  
    77// Created On       : Sat Jun  8 17:58:54 2019
    88// Last Modified By : Peter A. Buhr
    9 // Last Modified On : Sun Jan 28 11:59:55 2024
    10 // Update Count     : 133
     9// Last Modified On : Mon Feb  5 21:54:49 2024
     10// Update Count     : 134
    1111//
    1212
     
    114114                sin | wdi( sizeof(s), s );                                              sout | "2" | s;
    115115                sin | ignore( s );                                                              sout | "3" | s;
    116                 sin | wdi( sizeof(s), 8, s );                                   sout | "4" | s;
     116                sin | wdi( sizeof(s), 8, s );                                   sout | "4" | s;
    117117                sin | ignore( wdi( sizeof(s), 8, s ) );                 sout | "5" | s;
    118118
     
    131131                s[0] = 'q'; s[1] = '\0';
    132132                sin | excl( "u", wdi( sizeof(s), s ) );                 sout | "15" | s;
    133                 sin | skip( "u" ) | "\n";
     133                sin | skip( "u" ) | nl;
    134134                sin | getline( wdi( sizeof(s), s ) );                   sout | "16" | s;
    135                 sin | getline( wdi( sizeof(s), s ), '%' ) | "\n"; sout | "17" | s;
    136                 sin | ignore( getline( wdi( sizeof(s), s ), '%' ) ) | "\n"; sout | "18" | s;
     135                sin | getline( wdi( sizeof(s), s ), '%' ) | nl; sout | "17" | s;
     136                sin | ignore( getline( wdi( sizeof(s), s ), '%' ) ) | nl; sout | "18" | s;
    137137
    138138                sin | quoted( wdi( sizeof(s), s ) );                    sout | "19" | s;
Note: See TracChangeset for help on using the changeset viewer.