mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
Everything that is a separate subproject should live in the subprojects
directory.
Progress on #2503
This reverts commit 451f8a8c19
.
17 lines
359 B
C++
17 lines
359 B
C++
#include "processes.hh"
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
namespace nix {
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
* statusOk
|
|
* --------------------------------------------------------------------------*/
|
|
|
|
TEST(statusOk, zeroIsOk)
|
|
{
|
|
ASSERT_EQ(statusOk(0), true);
|
|
ASSERT_EQ(statusOk(1), false);
|
|
}
|
|
|
|
} // namespace nix
|