mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b02e993bd9
A number of the tests in js/src/trace-test.js specify expected results of a different type from the actual results. For example, the lsh test function returns an array of results, while its expected value is that the string that array becomes when coerced to a string. This trick allows tests to return structured values as results, even though JavaScript lacks a deep equality operator. However, this behavior can be troublesome when writing a test whose goals include checking the type of the result. Some tests simply specify expected values as strings for no apparent reason. This patch reworks these so that the expected and actual values have the same type. |
||
---|---|---|
.. | ||
jsd | ||
narcissus | ||
src | ||
tests | ||
landbranch.pl | ||
makefile.win |