Ignore:
Timestamp:
08/06/09 10:53:43 (3 years ago)
Author:
dom
Message:

text_printer now handles file deletions correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/text_printer_test.erl

    r80 r87  
    77-export ([compile_output/0]). 
    88-export ([test_output/0]). 
     9-export ([file_deletion/0]). 
    910 
    1011compile_output () -> 
     
    4647    ok. 
    4748 
     49file_deletion () -> 
     50    P = spawn_link (text_printer, init, [self ()]), 
     51    P ! {self (), compiler, {2, 2, 2}}, 
     52    timeout = receive_io_request (P), 
     53    P ! {self (), tester, {1, 0, 0}}, 
     54    <<"Testing 1: ">> = receive_io_request (P), 
     55    P ! {self (), tester, {1, 1, 1}}, 
     56    <<".\n1/1 successfully tested.\n">> = receive_io_request (P), 
     57    ok. 
     58 
    4859warning () -> 
    4960    {"/dir/file.erl", [{12, erl_lint, {unused_function,{foo,1}}}]}. 
Note: See TracChangeset for help on using the changeset viewer.