181: Fix test data for android lint based tests
This commit is contained in:
committed by
Nikolay Krasko
parent
585348c590
commit
ae338566c2
+7
@@ -0,0 +1,7 @@
|
||||
// INSPECTION_CLASS: com.android.tools.idea.lint.AndroidLintSQLiteStringInspection
|
||||
|
||||
import android.database.sqlite.SQLiteDatabase
|
||||
|
||||
fun test(db: SQLiteDatabase) {
|
||||
<warning descr="Using column type STRING; did you mean to use TEXT? (STRING is a numeric type and its value can be adjusted; for example, strings that look like integers can drop leading zeroes. See issue explanation for details.)">db.execSQL("CREATE TABLE COMPANY(NAME STRING)")</warning>
|
||||
}
|
||||
Reference in New Issue
Block a user