mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibWeb: Remove unnecessary f-string
Caught via ruff.
This commit is contained in:
parent
34e178d0e7
commit
58cfa2e40e
Notes:
github-actions[bot]
2025-06-09 15:26:53 +00:00
Author: https://github.com/trflynn89
Commit: 58cfa2e40e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5038
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
1 changed files with 2 additions and 2 deletions
|
@ -57,9 +57,9 @@ def create_test(test_name: str, test_type: str, is_async: bool = False) -> None:
|
||||||
input_boilerplate = Rf"""<!DOCTYPE html>
|
input_boilerplate = Rf"""<!DOCTYPE html>
|
||||||
<script src="{path_to_include_js}"></script>
|
<script src="{path_to_include_js}"></script>
|
||||||
<script>
|
<script>
|
||||||
{f"asyncTest(async (done)" if is_async else "test(()"} => {{
|
{"asyncTest(async (done)" if is_async else "test(()"} => {{
|
||||||
println("Expected println() output");
|
println("Expected println() output");
|
||||||
{f" done();" if is_async else ""}
|
{" done();" if is_async else ""}
|
||||||
}});
|
}});
|
||||||
</script>
|
</script>
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue