浏览代码

remove extra \n

Khaleel Al-Adhami 1 月之前
父节点
当前提交
8b0bb5e259
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/integration/test_exception_handlers.py

+ 1 - 1
tests/integration/test_exception_handlers.py

@@ -199,6 +199,6 @@ def test_frontend_exception_handler_with_react(
         assert "Error: Minified React error #31" in captured_default_handler_output.out
     else:
         assert (
-            "Error: Objects are not valid as a React child (found: object with keys \n{invalid})"
+            "Error: Objects are not valid as a React child (found: object with keys {invalid})"
             in captured_default_handler_output.out
         )