Replace assert with assertTrue in CleanupTest

Test: NetworkStaticLibTests
Change-Id: I9b403d4d3491a5ee34b69d1fa4767defdaff70c2
diff --git a/staticlibs/tests/unit/src/com/android/net/module/util/CleanupTest.kt b/staticlibs/tests/unit/src/com/android/net/module/util/CleanupTest.kt
index f4a7d10..af4d818 100644
--- a/staticlibs/tests/unit/src/com/android/net/module/util/CleanupTest.kt
+++ b/staticlibs/tests/unit/src/com/android/net/module/util/CleanupTest.kt
@@ -22,6 +22,7 @@
 import org.junit.Test
 import org.junit.runner.RunWith
 import org.junit.runners.JUnit4
+import kotlin.test.assertTrue
 import kotlin.test.fail
 
 private val TAG = CleanupTest::class.toString()
@@ -38,11 +39,11 @@
             x = 2
             Log.e(TAG, "Do nothing")
         } cleanup {
-            assert(x == 2)
+            assertTrue(x == 2)
             x = 3
             Log.e(TAG, "Do nothing")
         }
-        assert(x == 3)
+        assertTrue(x == 3)
     }
 
     @Test
@@ -54,12 +55,12 @@
                 throw TestException1()
                 x = 4
             } cleanup {
-                assert(x == 2)
+                assertTrue(x == 2)
                 x = 3
                 Log.e(TAG, "Do nothing")
             }
         }
-        assert(x == 3)
+        assertTrue(x == 3)
     }
 
     @Test
@@ -70,13 +71,13 @@
                 x = 2
                 Log.e(TAG, "Do nothing")
             } cleanup {
-                assert(x == 2)
+                assertTrue(x == 2)
                 x = 3
                 throw TestException2()
                 x = 4
             }
         }
-        assert(x == 3)
+        assertTrue(x == 3)
     }
 
     @Test
@@ -88,15 +89,15 @@
                 throw TestException1()
                 x = 3
             } cleanup {
-                assert(x == 2)
+                assertTrue(x == 2)
                 x = 4
                 throw TestException2()
                 x = 5
             }
             fail("Expected failure with TestException1")
         } catch (e: TestException1) {
-            assert(e.suppressedExceptions[0] is TestException2)
+            assertTrue(e.suppressedExceptions[0] is TestException2)
         }
-        assert(x == 4)
+        assertTrue(x == 4)
     }
 }