Skip to content

Commit 20b1d86

Browse files
style: fix ruff quote style in test_text.py
1 parent 59ed431 commit 20b1d86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/tests/ops/test_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def test_recursive_splitter_with_bash() -> None:
289289
' echo "Hello, $1!"\n'
290290
"}\n\n"
291291
"for name in Alice Bob; do\n"
292-
" greet \"$name\"\n"
292+
' greet "$name"\n'
293293
"done\n"
294294
)
295295
chunks = splitter.split(code, chunk_size=60, min_chunk_size=20, language="bash")
@@ -328,7 +328,7 @@ def test_recursive_splitter_with_hcl() -> None:
328328
" }\n"
329329
"}\n\n"
330330
'output "bucket_name" {\n'
331-
' value = aws_s3_bucket.example.bucket\n'
331+
" value = aws_s3_bucket.example.bucket\n"
332332
"}\n"
333333
)
334334
chunks = splitter.split(code, chunk_size=80, min_chunk_size=20, language="hcl")

0 commit comments

Comments
 (0)