Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Fix segfault in test release build
Browse files Browse the repository at this point in the history
Fake(Dtor(... works only in debug mode
  • Loading branch information
ColinDuquesnoy committed Sep 25, 2017
1 parent 0871ea0 commit 7a00051
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/UnitTests/Application/UserScripts/UserScriptsTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using namespace fakeit;
using namespace MellowPlayer::Application;

#ifdef QT_DEBUG
SCENARIO("UserScriptsTests")
{
Mock<IUserScript> userScriptMock;
Expand Down Expand Up @@ -136,4 +137,5 @@ SCENARIO("UserScriptsTests")
}

}
}
}
#endif

0 comments on commit 7a00051

Please sign in to comment.