mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 09:24:36 +00:00
* Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling.
14 lines
255 B
Nim
14 lines
255 B
Nim
discard """
|
|
disabled: windows
|
|
disabled: bsd
|
|
disabled: macosx
|
|
"""
|
|
|
|
import unittest
|
|
import fsmonitor
|
|
|
|
suite "fsmonitor":
|
|
test "should not raise OSError, bug# 3611":
|
|
let m = newMonitor()
|
|
m.add("foo", {MonitorCloseWrite, MonitorCloseNoWrite})
|