append to an empty test log
This commit is contained in:
parent
4c0d33693b
commit
a14b11e853
|
@ -20,15 +20,34 @@
|
|||
*/
|
||||
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
|
||||
#include "../9unit.h"
|
||||
#include "util.h"
|
||||
#include "append-test-log.h"
|
||||
|
||||
// Local Prototypes
|
||||
|
||||
static void append_to_empty(TestState *);
|
||||
|
||||
// Public Functions
|
||||
|
||||
void
|
||||
test_append_test_log(TestState *)
|
||||
test_append_test_log(TestState *s)
|
||||
{
|
||||
print("append_test_log()\n");
|
||||
append_to_empty(s);
|
||||
}
|
||||
|
||||
// Local Functions
|
||||
|
||||
static void
|
||||
append_to_empty(TestState *)
|
||||
{
|
||||
TestState test;
|
||||
print("\tappend to empty\n");
|
||||
mk_sample_state(&test);
|
||||
append_test_log(&test, "foo");
|
||||
}
|
||||
|
||||
//jl
|
||||
|
|
Loading…
Reference in New Issue
Block a user