>>> from sql_formatter.core import format_sql
>>> print(format_sql("select asdf, substr('asdf', case when asdf = 1 then 1 else 0 end, 2) as qwerty from table1"))
SELECT asdf,
substr('asdf', case when asdf = 1 then 1
else 0 end, 2) as qwerty
FROM table1
Expected behavior
SELECT asdf,
substr('asdf', case when asdf = 1 then 1
else 0 end, 2) as qwerty
FROM table1
To Reproduce
Expected behavior