aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-02-13 15:48:59 +0100
committerHans Bolinder <[email protected]>2017-03-08 14:11:49 +0100
commitf2fcba57bd0c932882460a7523e2cbed634975dd (patch)
tree4a5c5d04bb236f1bd77fc2f32dc8e5a94687c6bf /lib/eunit/src/eunit.erl
parent3f6de229ccd0c34aeea550fc1f16ffc4e6536073 (diff)
downloadotp-f2fcba57bd0c932882460a7523e2cbed634975dd.tar.gz
otp-f2fcba57bd0c932882460a7523e2cbed634975dd.tar.bz2
otp-f2fcba57bd0c932882460a7523e2cbed634975dd.zip
eunit: Fix handling of locations and annotations
Diffstat (limited to 'lib/eunit/src/eunit.erl')
-rw-r--r--lib/eunit/src/eunit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eunit/src/eunit.erl b/lib/eunit/src/eunit.erl
index 2c832a7f7a..1ace85ffde 100644
--- a/lib/eunit/src/eunit.erl
+++ b/lib/eunit/src/eunit.erl
@@ -256,7 +256,7 @@ all_options(Opts) ->
false -> Opts;
S ->
{ok, Ts, _} = erl_scan:string(S),
- {ok, V} = erl_parse:parse_term(Ts ++ [{dot,1}]),
+ {ok, V} = erl_parse:parse_term(Ts ++ [{dot,erl_anno:new(1)}]),
if is_list(V) -> Opts ++ V;
true -> Opts ++ [V]
end