Skip to content

Commit f851e3e

Browse files
committed
lint
1 parent ce1b6f0 commit f851e3e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/messaging/DuckChatContentScopeJsMessageHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class DuckChatContentScopeJsMessageHandler @Inject constructor() : ContentScopeJ
4141
override val allowedDomains: List<String> =
4242
listOf(
4343
AppUrl.Url.HOST,
44-
AppUrl.Url.HOST_DUCKAI
44+
AppUrl.Url.HOST_DUCKAI,
4545
)
4646

4747
override val featureName: String = "aiChat"

duckchat/duckchat-impl/src/test/kotlin/com/duckduckgo/duckchat/impl/helper/RealDuckChatJSHelperTest.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,9 @@ class RealDuckChatJSHelperTest {
489489

490490
// get count
491491
val info = testee.processJsCallbackMessage(featureName, "getMigrationInfo", id, null)
492-
val expected = JSONObject().apply {
492+
val expected = JSONObject().apply {
493493
put("ok", true)
494-
put("count", 2)
494+
put("count", 2)
495495
}
496496
assertEquals(expected.toString(), info!!.params.toString())
497497
}
@@ -506,9 +506,9 @@ class RealDuckChatJSHelperTest {
506506
testee.processJsCallbackMessage(featureName, "storeMigrationData", id, JSONObject(mapOf("serializedMigrationFile" to "file-2")))
507507

508508
val result = testee.processJsCallbackMessage(featureName, "getMigrationDataByIndex", id, JSONObject(mapOf("index" to 1)))
509-
val expected = JSONObject().apply {
509+
val expected = JSONObject().apply {
510510
put("ok", true)
511-
put("serializedMigrationFile", "file-2")
511+
put("serializedMigrationFile", "file-2")
512512
}
513513
assertEquals(expected.toString(), result!!.params.toString())
514514
}
@@ -555,9 +555,9 @@ class RealDuckChatJSHelperTest {
555555

556556
// count is zero
557557
val info = testee.processJsCallbackMessage(featureName, "getMigrationInfo", id, null)
558-
val expected = JSONObject().apply {
558+
val expected = JSONObject().apply {
559559
put("ok", true)
560-
put("count", 0)
560+
put("count", 0)
561561
}
562562
assertEquals(expected.toString(), info!!.params.toString())
563563
}

0 commit comments

Comments
 (0)