mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 14:46:25 +00:00
Fix Checksum calculate() with special characters
This commit is contained in:
1 parent
c3dbb47667
commit
e9efd5a702
3 files changed
+5
-4
No files matched your search
@@ -10,9 +10,9 @@ public class MChecksumTest {
|
||||
|
||||
@Test
|
||||
public void calculate() {
|
||||
File file = new File("src/test/resources/dbmigration/index/1.0__hello.sql");
|
||||
File file = new File("src/test/resources/dbmigration/index-special-chars/1.0__hello.sql");
|
||||
assertThat(file).exists();
|
||||
|
||||
assertThat(MChecksum.calculate(file)).isEqualTo(907060870);
|
||||
assertThat(MChecksum.calculate(file)).isEqualTo(1859426839);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
helloäüü
|
||||
Reference in new issue
Block a user