Skip to content

Commit

Permalink
license and ktftm
Browse files Browse the repository at this point in the history
  • Loading branch information
David Motsonashvili committed Jun 27, 2024
1 parent 7c4c7a7 commit cb1e871
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.google.ai.client.generativeai.type

enum class ExecutionOutcome {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,17 @@ internal class GenerateContentResponseTest {
null,
)

response.text shouldBe """
response.text shouldBe
"""
I can calculate that for you!
```python
print("hello world")
```
```
hello world
```
""".trimIndent()
"""
.trimIndent()
}

@Test
Expand Down

0 comments on commit cb1e871

Please sign in to comment.