summaryrefslogtreecommitdiffstats
path: root/netwerk/wifi/gtest/TestWifiMonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/wifi/gtest/TestWifiMonitor.cpp')
-rw-r--r--netwerk/wifi/gtest/TestWifiMonitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/wifi/gtest/TestWifiMonitor.cpp b/netwerk/wifi/gtest/TestWifiMonitor.cpp
index f12c5c78ef..37d46c658a 100644
--- a/netwerk/wifi/gtest/TestWifiMonitor.cpp
+++ b/netwerk/wifi/gtest/TestWifiMonitor.cpp
@@ -85,7 +85,7 @@ class TestWifiMonitor : public ::testing::Test {
public:
TestWifiMonitor() {
mObs = mozilla::services::GetObserverService();
- MOZ_ASSERT(mObs);
+ MOZ_RELEASE_ASSERT(mObs);
nsresult rv;
nsCOMPtr<nsINetworkLinkService> nls =
@@ -312,7 +312,7 @@ class TestWifiMonitor : public ::testing::Test {
LOGI(("RunSingleTest: <%s, %s> | requestPolling: %s | shouldPoll: %s",
aTopic, NS_ConvertUTF16toUTF8(aData).get(),
aRequestPolling ? "true" : "false", aShouldPoll ? "true" : "false"));
- MOZ_ASSERT(aShouldPoll || !aRequestPolling);
+ MOZ_RELEASE_ASSERT(aShouldPoll || !aRequestPolling);
CreateObjects();