- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/collections/string-istream-manip.cfa
r37ceccb r0860d9c 38 38 void echoTillX(const char * casename) { 39 39 string s; 40 // loop assumes behaviour not tested until main-case #15:41 // on reading nothing, the prior string value is left alone42 40 do { 43 s = "";44 41 forceStringHeapFreeSpaceTo(9); 45 42 sin | s; … … 57 54 string s; 58 55 do { 59 s = "";60 56 sin | plainjane( s ); 61 57 sout | casename | s; … … 72 68 string_res s; 73 69 do { 74 s = "";75 70 sin | plainjane( s ); 76 71 sout | casename | s; … … 87 82 string s; 88 83 do { 89 s = "";90 84 sin | skip("-\n"); 91 85 sin | incl( ".:|# x", s ); … … 103 97 string s; 104 98 do { 105 s = "";106 99 sin | skip("-\n"); 107 100 sin | excl( "-\n", s ); … … 120 113 string s; 121 114 do { 122 s = "";123 115 sin | getline( s ); 124 116 sout | casename | s; … … 135 127 string s; 136 128 do { 137 s = "";138 129 sin | getline( s, '@' ); 139 130 sout | casename | s;
Note: See TracChangeset
for help on using the changeset viewer.