浏览代码

fix Crc32 tests?

Dan Korostelev 6 年之前
父节点
当前提交
5333a5817f
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;