Selaa lähdekoodia

fix Crc32 tests?

Dan Korostelev 6 vuotta sitten
vanhempi
commit
5333a5817f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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;