LibWeb: Remove unnecessary f-string

Caught via ruff.
This commit is contained in:
Timothy Flynn 2025-06-09 09:31:58 -04:00 committed by Tim Flynn
commit 58cfa2e40e
Notes: github-actions[bot] 2025-06-09 15:26:53 +00:00

View file

@ -57,9 +57,9 @@ def create_test(test_name: str, test_type: str, is_async: bool = False) -> None:
input_boilerplate = Rf"""<!DOCTYPE html>
<script src="{path_to_include_js}"></script>
<script>
{f"asyncTest(async (done)" if is_async else "test(()"} => {{
{"asyncTest(async (done)" if is_async else "test(()"} => {{
println("Expected println() output");
{f" done();" if is_async else ""}
{" done();" if is_async else ""}
}});
</script>
"""