Unit Tests - fix
- The unit tests for color were still linking against color.o, instead of the new Color.o. Subtle, but wrong.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#include <iostream>
|
||||
#include <Context.h>
|
||||
#include <color.h>
|
||||
#include <Color.h>
|
||||
#include <test.h>
|
||||
|
||||
Context context;
|
||||
@@ -34,6 +34,7 @@ Context context;
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, char** argv)
|
||||
{
|
||||
/*
|
||||
const char* colors[] =
|
||||
{
|
||||
"off",
|
||||
@@ -63,7 +64,7 @@ int main (int argc, char** argv)
|
||||
|
||||
t.is (Text::colorName (Text::nocolor), "", "nocolor == \'\'");
|
||||
t.is (Text::colorCode (""), Text::nocolor, "\'\' == nocolor");
|
||||
|
||||
*/
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user