aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/test/diameter_compiler_SUITE.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-01-16 12:19:42 +0100
committerAnders Svensson <[email protected]>2014-01-16 12:19:42 +0100
commit17303e17116415e7758e96530814b0a6f3f9a93f (patch)
treec62ec595190b167a06a49cb6fab17bbfd512eb75 /lib/diameter/test/diameter_compiler_SUITE.erl
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-17303e17116415e7758e96530814b0a6f3f9a93f.tar.gz
otp-17303e17116415e7758e96530814b0a6f3f9a93f.tar.bz2
otp-17303e17116415e7758e96530814b0a6f3f9a93f.zip
Compiler suite fix
An error when expecting success wasn't regarded as failure when compiling dictionaries.
Diffstat (limited to 'lib/diameter/test/diameter_compiler_SUITE.erl')
-rw-r--r--lib/diameter/test/diameter_compiler_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/test/diameter_compiler_SUITE.erl b/lib/diameter/test/diameter_compiler_SUITE.erl
index ed369e8af3..cc423d5bc6 100644
--- a/lib/diameter/test/diameter_compiler_SUITE.erl
+++ b/lib/diameter/test/diameter_compiler_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2013. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -397,7 +397,7 @@ replace({E, Mods}, Bin) ->
case {E, parse(B, [{include, here()}]), Mods} of
{ok, {ok, Dict}, _} ->
Dict;
- {_, {error, S}, _} ->
+ {_, {error, S}, _} when E /= ok ->
S
end.