defined test_passing
This commit is contained in:
parent
ede11a1727
commit
1e5423b564
@ -24,12 +24,27 @@
|
|||||||
#include "../9unit.h"
|
#include "../9unit.h"
|
||||||
#include "run-test.h"
|
#include "run-test.h"
|
||||||
|
|
||||||
|
// Internal Prototypes
|
||||||
|
|
||||||
|
static void test_passing(TestState *);
|
||||||
|
|
||||||
// Public Functions
|
// Public Functions
|
||||||
|
|
||||||
void
|
void
|
||||||
test_run_test(TestState *)
|
test_run_test(TestState *s)
|
||||||
{
|
{
|
||||||
print("run_test()\n");
|
print("run_test()\n");
|
||||||
|
test_passing(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Internal Functions
|
||||||
|
|
||||||
|
static
|
||||||
|
void test_passing(TestState *s)
|
||||||
|
{
|
||||||
|
void *oldptr = s->ptr;
|
||||||
|
print("\tpassing\n");
|
||||||
|
s->ptr = oldptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
//jl
|
//jl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user