Fix testdata for tests which use varargs

Change tests to use new syntax for array literals to prevent deprecation
warnings (see KT-20171).
This commit is contained in:
Dmitry Savvinov
2017-10-11 18:03:21 +03:00
parent fd1aa97d0c
commit 87b85ce978
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class ToastTest(context: Context) : Activity() {
@android.annotation.SuppressLint("ShowToast", "Lorem ipsum")
val toast2 = Toast.makeText(this, "MyToast", Toast.LENGTH_LONG)
@android.annotation.SuppressLint(value = "ShowToast")
@android.annotation.SuppressLint(value = ["ShowToast"])
val toast3 = Toast.makeText(this, "MyToast", Toast.LENGTH_LONG)
}