mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-26 01:05:38 +00:00
parent
5a7c6775b1
commit
ecf1e1cef4
17 changed files with 340 additions and 12 deletions
|
|
@ -77,7 +77,7 @@ public class InputFactoryTest {
|
|||
public void testHashCodeGeneration() throws IOException {
|
||||
final byte[] s1 = drain(InputFactory.read(Simple.SIMPLE_VALID.toURL())).getHashCode();
|
||||
final byte[] s2 = drain(InputFactory.read(Simple.SIMPLE_VALID.toURL())).getHashCode();
|
||||
final byte[] s3 = drain(InputFactory.read(Simple.INVALID.toURL())).getHashCode();
|
||||
final byte[] s3 = drain(InputFactory.read(Simple.SCHEMA_INVALID.toURL())).getHashCode();
|
||||
assertThat(s1).isNotEmpty();
|
||||
assertThat(s1).isEqualTo(s2);
|
||||
assertThat(s3).isNotEmpty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue