mirror of
https://github.com/unisonweb/unison.git
synced 2024-10-26 11:07:48 +03:00
Add scaffolding for Bytes tests
This commit is contained in:
parent
a7097aaaf8
commit
fea4da5e44
5
unison-src/builtin-tests/bytes-tests.u
Normal file
5
unison-src/builtin-tests/bytes-tests.u
Normal file
@ -0,0 +1,5 @@
|
||||
bytes.tests = do
|
||||
!bytes.lit.tests
|
||||
|
||||
bytes.lit.tests = do
|
||||
console.printLine "Bytes tests"
|
@ -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
|
||||
|
@ -12,6 +12,7 @@ TODO remove md5 alias when base is released
|
||||
()
|
||||
|
||||
```
|
||||
TODO remove once jit supports typelinks
|
||||
```ucm
|
||||
.> run threadKilledTypeLinkTest
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user