Changeset 88 for trunk/src/fixtures.erl


Ignore:
Timestamp:
08/06/09 11:28:55 (3 years ago)
Author:
dom
Message:

Fixed minor bug in fixtures:make_tree/2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/fixtures.erl

    r85 r88  
    4444    ok. 
    4545 
    46 normalise ([H | []]) -> 
    47     H; 
     46normalise ([String]) when is_list (String) -> 
     47    String; 
    4848normalise ([H | T]) when is_list (H) -> 
    4949    %% Inserts newlines when list of strings... 
    5050    normalise ([string: concat (H, string: concat ("\n", hd (T))) | tl (T)]); 
    51 normalise ([String]) when is_list (String) -> 
    52     String; 
    5351normalise (String) when is_list (String) -> 
    5452    String. 
Note: See TracChangeset for help on using the changeset viewer.