From 297e83771987fcffea1ab4e2c5e649a421e57d8a Mon Sep 17 00:00:00 2001 From: Matteo-Omenetti Date: Tue, 4 Feb 2025 14:56:28 +0100 Subject: [PATCH] fix black Signed-off-by: Matteo-Omenetti --- tests/test_code_formula.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_code_formula.py b/tests/test_code_formula.py index 2f3d1925..70bd90e4 100644 --- a/tests/test_code_formula.py +++ b/tests/test_code_formula.py @@ -48,9 +48,9 @@ def test_code_and_formula_conversion(): code_blocks = [el for el in results if isinstance(el, CodeItem)] assert len(code_blocks) == 1 - gt = 'function add(a, b) {\n return a + b;\n}\nconsole.log(add(3, 5));' + gt = "function add(a, b) {\n return a + b;\n}\nconsole.log(add(3, 5));" - predicted = code_blocks[0].text.strip() + predicted = code_blocks[0].text.strip() assert predicted == gt, f"mismatch in text {predicted=}, {gt=}" assert code_blocks[0].code_language == CodeLanguageLabel.JAVASCRIPT