Jelajahi Sumber

remove extra \n

Khaleel Al-Adhami 1 bulan lalu
induk
melakukan
8b0bb5e259
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
         )