Browse Source

fix Crc32 tests?

Dan Korostelev 6 years ago
parent
commit
5333a5817f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/unit/src/unitstd/haxe/crypto/Crc32.unit.hx

+ 2 - 2
tests/unit/src/unitstd/haxe/crypto/Crc32.unit.hx

@@ -1,2 +1,2 @@
-haxe.crypto.Crc32.make(haxe.io.Bytes.fromString("")) == 0;
-haxe.crypto.Crc32.make(haxe.io.Bytes.fromString("The quick brown fox jumps over the lazy dog")) == 0x414FA339;
+haxe.crypto.Crc32.make(haxe.io.Bytes.ofString("")) == 0;
+haxe.crypto.Crc32.make(haxe.io.Bytes.ofString("The quick brown fox jumps over the lazy dog")) == 0x414FA339;