Skip to content
Browse files

fix tests with previous commit

  • Loading branch information...
1 parent 78d81cf commit 07e11adc521600fcc28a1d6d0171d702db3dffc2 @nniclausse nniclausse committed
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/test/ts_test_search.erl
View
12 src/test/ts_test_search.erl
@@ -265,24 +265,24 @@ parse_subst_regexp_sid_test() ->
dynvars_urandom_test() ->
myset_env(),
- ?assertMatch([<<"qxvmvtglimieyhemzlxc">>],ts_client:set_dynvars(urandom,{string,20},[toto],[],{})).
+ ?assertMatch([<<"qxvmvtglimieyhemzlxc">>],ts_client:set_dynvars(urandom,{string,20},[toto],[],{},[])).
dynvars_urandom_neg_test() ->
myset_env(),
- ?assertError(function_clause,ts_client:set_dynvars(urandom,{string,-3},[toto],[],{})).
+ ?assertError(function_clause,ts_client:set_dynvars(urandom,{string,-3},[toto],[],{},[])).
dynvars_urandom2_test() ->
myset_env(),
- ?assertMatch([<<"qxvmvtglimieyhemzlxc">>,<<"qxvmvtglimieyhemzlxc">>],ts_client:set_dynvars(urandom,{string,20},[toto,tutu],[],{})).
+ ?assertMatch([<<"qxvmvtglimieyhemzlxc">>,<<"qxvmvtglimieyhemzlxc">>],ts_client:set_dynvars(urandom,{string,20},[toto,tutu],[],{},[])).
dynvars_random_test() ->
myset_env(),
- [String] = ts_client:set_dynvars(random,{string,20},[toto],[],{}),
+ [String] = ts_client:set_dynvars(random,{string,20},[toto],[],{},[]),
?assertMatch(20,length(binary_to_list(String))).
dynvars_random2_test() ->
myset_env(),
- [String,String2] = ts_client:set_dynvars(random,{string,20},[toto,titi],[],{}),
+ [String,String2] = ts_client:set_dynvars(random,{string,20},[toto,titi],[],{},[]),
?assertMatch({20,20},{length(binary_to_list(String)),length(binary_to_list(String2))}).
dynvars_jsonpath_test() ->
@@ -290,7 +290,7 @@ dynvars_jsonpath_test() ->
Data="\r\n\r\n{\"titi\": [{\"val\": 123, \"name\": \"foo\"}, {\"val\": 42, \"name\": \"bar\"}]}",
JSONPath = "titi[?name=bar].val",
Dynvars=ts_dynvars:new(data,Data),
- ?assertEqual(42,ts_client:set_dynvars(jsonpath,{JSONPath,data},[toto],Dynvars,{})).
+ ?assertEqual(42,ts_client:set_dynvars(jsonpath,{JSONPath,data},[toto],Dynvars,{},[])).
%%TODO: out of order..

0 comments on commit 07e11ad

Please sign in to comment.
Something went wrong with that request. Please try again.