rust-mozjs
e2d07dc6 - Auto merge of #451 - longwusha:master, r=jdm

Commit
7 years ago
Auto merge of #451 - longwusha:master, r=jdm [#411] Add some tests for default-initialized roots 1. At the current stage, I only completed the test code for JSVal; I need to know how to implement several other types of default values in order to complete all the test code. 2. The default value of JSVal's current implementation is undefined, so we should use the is_undefined() method to verify the result. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/451) <!-- Reviewable:end -->
Author
bors-servo
Loading