Add scaffolding for Bytes tests

This commit is contained in:
Fabio Labella 2023-04-12 14:08:04 +01:00
parent a7097aaaf8
commit fea4da5e44
5 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,5 @@
bytes.tests = do
!bytes.lit.tests
bytes.lit.tests = do
console.printLine "Bytes tests"

View File

@ -40,6 +40,11 @@ to `Tests.check` and `Tests.checkEqual`).
.> add
```
```ucm:hide
.> load unison-src/builtin-tests/bytes-tests.u
.> add
```
TODO remove md5 alias when base is released
```ucm:hide
.> alias.term ##crypto.HashAlgorithm.Md5 base.crypto.HashAlgorithm.Md5
@ -54,7 +59,7 @@ TODO remove md5 alias when base is released
.> run tests
```
TODO remove once jit supports typelinks
```ucm:hide
.> builtins.merge
.> load unison-src/builtin-tests/thread-killed-typeLink-test.u

View File

@ -12,6 +12,7 @@ TODO remove md5 alias when base is released
()
```
TODO remove once jit supports typelinks
```ucm
.> run threadKilledTypeLinkTest

View File

@ -42,6 +42,11 @@ to `Tests.check` and `Tests.checkEqual`).
.> add
```
```ucm:hide
.> load unison-src/builtin-tests/bytes-tests.u
.> add
```
TODO remove md5 alias when base is released
```ucm:hide
.> alias.term ##crypto.HashAlgorithm.Md5 base.crypto.HashAlgorithm.Md5

View File

@ -9,6 +9,7 @@ tests = Tests.main do
check "bug is caught" do isLeft (catchAll do bug ())
!list.tests
!text.tests
!bytes.tests
crypto.hash.tests = do