- Timestamp:
- 07/15/09 09:35:46 (3 years ago)
- File:
-
- 1 edited
-
trunk/src/tests.erl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tests.erl
r35 r72 1 %%% Copyright (c) 2008Dominic Williams, Nicolas Charpentier1 %%% Copyright (c) Dominic Williams, Nicolas Charpentier 2 2 %%% All rights reserved. 3 3 %%% See file COPYING. 4 4 5 5 -module (tests). 6 -export ([filter_by_attribute/1 , receive_all/0]).6 -export ([filter_by_attribute/1]). 7 7 8 8 filter_by_attribute (Binary) -> … … 26 26 testable_export ({F, 0}, Fs) -> [F | Fs]; 27 27 testable_export (_, Fs) -> Fs. 28 29 receive_all () ->30 receive_all ([]).31 32 receive_all (Ms) ->33 receive M -> receive_all ([M | Ms])34 after 10000 -> lists: reverse (Ms)35 end.
Note: See TracChangeset
for help on using the changeset viewer.
