Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix broken test due to error message change
Summary: ## Context The error message in folly dynamic has been updated in D62136190. Updating related tests to reflect the change. ## Diff Only test code is changed. No business logic change. ## Changelog: [Internal] [Fixed] - Fix broken unit test due to folly error message change X-link: facebook/react-native#46329 ``` Shows details about the selected run from the run history Run result java.lang.AssertionError: Test failure Test Case RecoverableError * Running RecoverableError.RunRethrowingAsRecoverableRecoverTest * Running RecoverableError.RunRethrowingAsRecoverableFallthroughTest 2/2 tests passed. Test Case JsArgumentHelpersTest * Running JsArgumentHelpersTest.args ***** Failure in xplat/js/react-native-github/packages/react-native/ReactCommon/cxxreact/tests/jsarg_helpers.cpp:108 Expected equality of these values: ex.what() Which is: "Error converting javascript arg 4 to C++: TypeError: expected dynamic type 'int/double/bool/string', but had type 'array'" std::string("Error converting javascript arg 4 to C++: " "TypeError: expected dynamic type `int/double/bool/string', but had type `array'") Which is: "Error converting javascript arg 4 to C++: TypeError: expected dynamic type `int/double/bool/string', but had type `array'" 0/1 tests passed. Test Case JSBigFileString ``` Reviewed By: yfeldblum Differential Revision: D62184078 fbshipit-source-id: 6ae0a33f58e0e10f14166084b80a997e59a008ec
- Loading branch information