-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix collection tests for latest guava-testlib update (#2786)
With the fix in the latest guava-testlib version null support is now properly checked. But it expects that if a collection does not permit null, then creating it with null should fail as well, see guava-testlib's: - MapCreationTester.testCreateWithNullValueUnsupported() - CollectionCreationTester.testCreateWithNull_unsupported() However, the previous implementation for the JsonArray and JsonObject test was using methods which implicitly converted null to JsonNull.
- Loading branch information
1 parent
287fd33
commit 3bb7685
Showing
3 changed files
with
16 additions
and
11 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
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