Skip to content

Commit fb04026

Browse files
author
Heitor Danilo
committed
docs: standardizing files and functions format
1 parent bcad6dd commit fb04026

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ However, if a test fails, the program will halt execution at the point of failur
6767
You can find the definitions for all tests in the files that end with the ***_test.h*** suffix, while the ***_test.c*** files contain the implementations of these tests. The ***./src/main_test.c*** file serves as the test runner, executing all test implementations.
6868
6969
Tests are named following the pattern "`test_should_pass_if_\[condition]`". For example:
70-
1. `test_should_pass_if`_var_statement_to_string_is_equal_to_expected (***src/ast/ast_test.h***)
71-
2. `test_should_pass_if`_bool_assignments_are_equal_to_expected (******src/token/token_test.h******)**
70+
1. `test_should_pass_if_var_statement_to_string_is_equal_to_expected` (***src/ast/ast_test.h***)
71+
2. `test_should_pass_if_bool_assignments_are_equal_to_expected` (******src/token/token_test.h******)**
7272
73-
Each `_test.c` file contains local helper functions that assist in performing specific tasks within the file, but are not accessible for other tests. For this reason, I would categorize this as a library, rather than a framework. For instance, in ***src/ast/ast_test.c***, you'll find the `create_program` function:
73+
Each ***_test.c*** file contains local helper functions that assist in performing specific tasks within the file, but are not accessible for other tests. For this reason, I would categorize this as a library, rather than a framework. For instance, in ***src/ast/ast_test.c***, you'll find the `create_program` function:
7474
7575
```C
7676
struct Program* create_program(char* input) {

0 commit comments

Comments
 (0)