Skip to content

Commit cbf2cdc

Browse files
author
Зишан Мирза
committed
add todo in tests
1 parent 749c02a commit cbf2cdc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

libc/test/src/time/localtime_r_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
#include "src/time/timezone.h"
1313
#include "test/UnitTest/Test.h"
1414

15+
// TODO: remove this header file
1516
#include <string.h>
1617

1718
extern char **environ;
1819

20+
// TODO: rewrite this function and remove malloc
1921
void set_env_var(const char *env) {
2022
int i = 0;
2123
if (environ[i] != NULL) {

libc/test/src/time/localtime_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
#include "src/time/localtime.h"
1111
#include "src/time/timezone.h"
1212
#include "test/UnitTest/Test.h"
13+
14+
// TODO: remove this header file
1315
#include <string.h>
1416

1517
extern char **environ;
1618

19+
// TODO: rewrite this function and remove malloc
1720
void set_env_var(const char *env) {
1821
int i = 0;
1922
if (environ[i] != NULL) {

0 commit comments

Comments
 (0)