Created
February 13, 2020 13:40
-
-
Save fbcbl/f4877994ba03762f996fc999dca0a0b8 to your computer and use it in GitHub Desktop.
AndroidLogDetector - Result Inspection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lintResult | |
.expectErrorCount(1) | |
.expect(""" | |
src/com/fabiocarballo/lint/Dog.kt:8: Error: android.util.Log usage is forbidden. [AndroidLogDetector] | |
Log.d(TAG, "woof! woof!") | |
~~~~~~~~~~~~~~~~~~~~~~~~~ | |
1 errors, 0 warnings | |
""".trimIndent()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment