Khaleel Al-Adhami 1 mese fa
parent
commit
8b0bb5e259
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
         assert "Error: Minified React error #31" in captured_default_handler_output.out
     else:
     else:
         assert (
         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
             in captured_default_handler_output.out
         )
         )