Skip to content

Commit ef5deae

Browse files
authored
Update test1.c
adding tests to showcase handling of newline/linebreaks
1 parent bae4271 commit ef5deae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test1.c

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ char* test_vector[][4] =
8787
{ OK, ".?bar", "real_bar", (char*) 4 },
8888
{ NOK, ".?bar", "real_foo", (char*) 0 },
8989
{ NOK, "X?Y", "Z", (char*) 0 },
90+
{ OK, "[a-z]+\nbreak", "blahblah\nbreak", (char*) 14 },
91+
{ OK, "[a-z\\s]+\nbreak", "bla bla \nbreak", (char*) 14 },
9092
};
9193

9294

0 commit comments

Comments
 (0)