crashappsec / chalk

Chalk allows you to follow code from development, through builds and into production.
https://crashoverride.com/
GNU General Public License v3.0
348 stars 15 forks source link

tests(fd_cache): in-file tests are incomplete, and should move to tests dir #275

Closed ee7 closed 5 months ago

ee7 commented 5 months ago

Follow-up ticket for https://github.com/crashappsec/chalk/pull/227#discussion_r1577828251.

$ nim r src/fd_cache.nim
fatal.nim(53)            sysFatal
Error: unhandled exception: fd_cache.nim(272, 11) `one1 != two`  [AssertionDefect]

https://github.com/crashappsec/chalk/blob/4d0b9112184f1fb95a80d13c591af3bb031dcd2e/src/fd_cache.nim#L264-L310