Skip to content

Commit

Permalink
Suppress false warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdgr8 committed Nov 6, 2023
1 parent 149c9a0 commit 3e20959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Based on https://github.com/cashapp/sqldelight/blob/master/extensions/androidx-paging3/src/commonTest/kotlin/app/cash/sqldelight/paging3/OffsetQueryPagingSourceTest.kt
*/

@file:Suppress("CAST_NEVER_SUCCEEDS")
@file:Suppress("CAST_NEVER_SUCCEEDS", "USELESS_CAST", "KotlinRedundantDiagnosticSuppress")

package kotbase.paging

Expand Down
1 change: 1 addition & 0 deletions couchbase-lite/src/commonTest/kotlin/kotbase/QueryTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,7 @@ class QueryTest : BaseQueryTest() {
// https://forums.couchbase.com/t/unicode-collation-locale-null-or-device-locale/34103
//assertEquals(expected[i], collations[i].asJSON())
val expectedCollation = expected[i]
@Suppress("UNNECESSARY_SAFE_CALL", "KotlinRedundantDiagnosticSuppress")
val collation = collations[i].asJSON()?.massageJson(expectedCollation)
assertEquals(expectedCollation, collation)
}
Expand Down

0 comments on commit 3e20959

Please sign in to comment.