forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests to verify buildSelectedType() does not invalidate input
buildSelectedType() takes a constant typeWithId type tree and applies the selector on it to return a selected new type tree. However, it used to modify the input typeWithId unexpectedly because it duplicates the internal type nodes, but not the leaves(primitive types). This was fixed in facebookincubator#9244. This PR adds tests to verify that fix.
- Loading branch information
1 parent
efb7e77
commit f8d7e55
Showing
2 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters