1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-15 21:24:48 +00:00
janet/test
Christopher Chambers 57c954783d Fix resumption values when closing a channel.
When suspended in `ev/give` or `ev/take`, closing the channel should
cause the result of `ev/give` or `ev/take` to be `nil`.

When suspended in `ev/select`, closing the channel should cause the
result of `ev/select` to be `[:close ch]`.

The results were flipped before.
2023-06-07 15:01:56 -04:00
..
amalg Update copyrights. 2023-01-07 15:04:56 -06:00
fuzzers Make janet_equals and janet_compare non recursive 2020-04-24 16:18:31 -05:00
helper.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-array.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-asm.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-boot.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-buffer.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-capi.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-cfuns.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-compile.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-corelib.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-debug.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-ev.janet Fix resumption values when closing a channel. 2023-06-07 15:01:56 -04:00
suite-ffi.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-inttypes.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-io.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-marsh.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-math.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-os.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-parse.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-peg.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-pp.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-specials.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-string.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-strtod.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-struct.janet Added misc tests to increase test coverage 2023-06-03 19:06:51 +02:00
suite-symcache.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-table.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-unknown.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-value.janet Reorganize tests 2023-06-02 07:04:07 +09:00
suite-vm.janet Reorganize tests 2023-06-02 07:04:07 +09:00