diff options
author | Siri Hansen <[email protected]> | 2015-09-30 11:25:17 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2015-09-30 11:25:17 +0200 |
commit | 6dc374d356c674e1dbf171ff0d5095d2e9206c9e (patch) | |
tree | a1efee8bc0da5131ec372d87f9659c2bcd1ce3d1 /lib | |
parent | 0540e422498a2b3f362025c7a4afa4a8269554d2 (diff) | |
parent | ba2528b482e48f2e45509f6999f8f919b152d48f (diff) | |
download | otp-6dc374d356c674e1dbf171ff0d5095d2e9206c9e.tar.gz otp-6dc374d356c674e1dbf171ff0d5095d2e9206c9e.tar.bz2 otp-6dc374d356c674e1dbf171ff0d5095d2e9206c9e.zip |
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test_server/src/ts_lib.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/test_server/src/ts_lib.erl b/lib/test_server/src/ts_lib.erl index 61bd55a654..7c3f450194 100644 --- a/lib/test_server/src/ts_lib.erl +++ b/lib/test_server/src/ts_lib.erl @@ -250,12 +250,10 @@ do_test(Rest, Vars, Test) -> {Result,Comment,Rest2}. %% extract an argument -get_arg([$ |Rest], Vars, Stop, Acc) -> - get_arg(Rest, Vars, Stop, Acc); get_arg([$(|Rest], Vars, Stop, _) -> get_arg(Rest, Vars, Stop, []); get_arg([Stop|Rest], Vars, Stop, Acc) -> - Arg = lists:reverse(Acc), + Arg = string:strip(lists:reverse(Acc)), Subst = subst(Arg, Vars), {Subst,Rest}; get_arg([C|Rest], Vars, Stop, Acc) -> |