Skip to content

Commit e63f756

Browse files
author
David Motsonashvili
committed
format
1 parent aa8949c commit e63f756

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

firebase-ai/src/test/java/com/google/firebase/ai/SerializationTests.kt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -514,10 +514,10 @@ internal class SerializationTests {
514514
expectedJsonAsString shouldEqualJson actualJson.toString()
515515
}
516516

517-
@Test
518-
fun `test template request serialization as Json`() {
519-
val expectedJsonAsString =
520-
"""
517+
@Test
518+
fun `test template request serialization as Json`() {
519+
val expectedJsonAsString =
520+
"""
521521
{
522522
"id": "TemplateGenerateContentRequest",
523523
"type": "object",
@@ -537,15 +537,15 @@ internal class SerializationTests {
537537
}
538538
}
539539
"""
540-
.trimIndent()
541-
val actualJson = descriptorToJson(TemplateGenerateContentRequest.serializer().descriptor)
542-
expectedJsonAsString shouldEqualJson actualJson.toString()
543-
}
540+
.trimIndent()
541+
val actualJson = descriptorToJson(TemplateGenerateContentRequest.serializer().descriptor)
542+
expectedJsonAsString shouldEqualJson actualJson.toString()
543+
}
544544

545-
@Test
546-
fun `test template imagen request serialization as Json`() {
547-
val expectedJsonAsString =
548-
"""
545+
@Test
546+
fun `test template imagen request serialization as Json`() {
547+
val expectedJsonAsString =
548+
"""
549549
{
550550
"id": "TemplateGenerateImageRequest",
551551
"type": "object",
@@ -559,10 +559,10 @@ internal class SerializationTests {
559559
}
560560
}
561561
"""
562-
.trimIndent()
563-
val actualJson = descriptorToJson(TemplateGenerateImageRequest.serializer().descriptor)
564-
expectedJsonAsString shouldEqualJson actualJson.toString()
565-
}
562+
.trimIndent()
563+
val actualJson = descriptorToJson(TemplateGenerateImageRequest.serializer().descriptor)
564+
expectedJsonAsString shouldEqualJson actualJson.toString()
565+
}
566566

567567
@Test
568568
fun `test GoogleSearch serialization as Json`() {

0 commit comments

Comments
 (0)