refactor(test): remove relative include

This commit is contained in:
2025-09-12 03:54:30 +02:00
parent 55ca92414f
commit ff90146aee
9 changed files with 40 additions and 25 deletions

View File

@@ -1,10 +1,9 @@
#include <assert.h>
#include <myclib/mystring.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../../string/mystring.h"
void test_str1(void) {
size_t length;
size_t capacity;

View File

@@ -1,8 +1,7 @@
#include <assert.h>
#include <myclib/mystring.h>
#include <string.h>
#include "../../string/mystring.h"
void test_str2(void) {
string_s *s1 = string_new("Hello, world!", 0);
assert(s1 != NULL);

View File

@@ -1,8 +1,7 @@
#include <assert.h>
#include <myclib/mystring.h>
#include <string.h>
#include "../../string/mystring.h"
void test_str3(void) {
/* Make a new string from format */
string_s *s = string_format("My name is %s (%d)", "John", 21);