Browse files

Removed capHT feature

  • Loading branch information...
1 parent 9500ca7 commit 5da0562249fce64b7bb112e797ac48ff96a342cb @Gianfrancoalongi committed Dec 7, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −7 run1/src/o_plugin_capHT.erl
  2. +0 −9 run1/test/mrz_tests.erl
View
7 run1/src/o_plugin_capHT.erl
@@ -1,7 +0,0 @@
--module(o_plugin_capHT).
--export([act/1]).
-act(Input) ->
- [H|T] = string:tokens(Input," "),
- [TH|TT] = lists:reverse(T),
- string:join([string:to_upper(H)]++TT++[string:to_upper(TH)]," ").
-
View
9 run1/test/mrz_tests.erl
@@ -8,7 +8,6 @@ mrz_options_test_() ->
[
fun basic_program_test_function/1,
fun rev2_test_function/1,
- fun capHT_test_function/1,
fun lowerwhole_test_function/1,
fun lower2_test_function/1,
fun cap2H_test_function/1
@@ -38,14 +37,6 @@ lowerwhole_test_function(FileHandle) ->
?assertEqual(<<"hello world">>,Res)
end.
-capHT_test_function(FileHandle) ->
- fun() ->
- group_leader(FileHandle,self()),
- mrz:run([helloworld,capHT,stdout]),
- {ok,Res} = file:read_file("test_res.txt"),
- ?assertEqual(<<"HELLO WORLD">>,Res)
- end.
-
rev2_test_function(FileHandle) ->
fun() ->
group_leader(FileHandle,self()),

0 comments on commit 5da0562

Please sign in to comment.