• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Replace assertions with checks in unit tests (REnamer, 1dd61f2)

Created 1/11/2008, updated 3/5/2024
  • snippets

We want these checks to be compiled in both Debug and Release builds in the unit tests, so use check macros rather than assertion ones (the latter get preprocessed away in Release builds).

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Update gitignores to ignore bak files (REnamer, 3eaf965)
Reorganization (REnamer, 0cff757) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).