- Timestamp:
- Apr 26, 2010, 3:46:12 PM (13 years ago)
- Branches:
- master, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- ae333f0
- Parents:
- 1ea0249
- git-author:
- David Benjamin <davidben@mit.edu> (04/26/10 12:49:41)
- git-committer:
- David Benjamin <davidben@mit.edu> (04/26/10 15:46:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tester.c
rd564c3d r4123da1 329 329 330 330 owl_editwin *oe; 331 oe = owl_editwin_allocate(); 332 owl_editwin_init(oe, NULL, 80, 80, OWL_EDITWIN_STYLE_MULTILINE, NULL); 331 oe = owl_editwin_new(NULL, 80, 80, OWL_EDITWIN_STYLE_MULTILINE, NULL); 333 332 334 333 /* TODO: make the strings a little more lenient w.r.t trailing whitespace */ … … 344 343 "blah")); 345 344 345 owl_editwin_delete(oe); oe = NULL; 346 oe = owl_editwin_new(NULL, 80, 80, OWL_EDITWIN_STYLE_MULTILINE, NULL); 347 346 348 /* check that lines ending with ". " correctly fill */ 347 owl_editwin_fullclear(oe);348 349 owl_editwin_insert_string(oe, "blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. \n\nblah"); 349 350 owl_editwin_move_to_top(oe); … … 355 356 "blah")); 356 357 357 owl_editwin_delete(oe); 358 owl_editwin_delete(oe); oe = NULL; 358 359 359 360 printf("# END testing owl_editwin (%d failures)\n", numfailed);
Note: See TracChangeset
for help on using the changeset viewer.