Enable function2 test (#3083)

This commit is contained in:
Charlie Marsh 2023-02-20 23:37:50 -05:00 committed by GitHub
parent 90c04b9cff
commit a6eb60cdd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 173 additions and 56 deletions

View file

@ -1,7 +1,6 @@
---
source: src/source_code/mod.rs
assertion_line: 0
expression: formatted
source: crates/ruff_python_formatter/src/lib.rs
expression: adjust_quotes(formatted.print()?.as_code())
---
def f(
a,
@ -10,7 +9,8 @@ def f(
with cache_dir():
if something:
result = CliRunner().invoke(
black.main, [str(src1), str(src2), "--diff", "--check"]
black.main,
[str(src1), str(src2), "--diff", "--check"],
)
limited.append(-limited.pop()) # negate top
return A(