Blob Blame History Raw
From a151f644aeba90423c95e2a110233acceb078191 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Mon, 28 Apr 2014 12:30:12 +0200
Subject: [PATCH] Build with R16B03

Based on the following upstream commit:

commit 3e8de7e17d8cbaff59d78d4cb628812e10719243
Author: Adam Lindberg <hello@alind.io>
Date:   Fri Mar 14 18:42:00 2014 +0100

    Fix changed cover compile opts on R16B03+
---
 test/meck_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/meck_tests.erl b/test/meck_tests.erl
index 3cc22c9..44d6a29 100644
--- a/test/meck_tests.erl
+++ b/test/meck_tests.erl
@@ -625,7 +625,7 @@ cover_options_fail_({_OldPath, Src, Module}) ->
     {ok, _} = compile:file(Src, CompilerOptions),
     ?assertEqual(CompilerOptions, meck_mod:compile_options(Module)),
     {ok, _} = cover:compile_beam(Module),
-    ?assertEqual([], meck_mod:compile_options(Module)),
+    ?assertEqual([{i,"../test/include"},{d,'TEST',true}], meck_mod:compile_options(Module)),
     a      = Module:a(),
     b      = Module:b(),
     {1, 2} = Module:c(1, 2),
-- 
1.9.0