Skip to content

Commit

Permalink
Adjusted the test
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Sep 30, 2024
1 parent 912ebeb commit b6381ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4759,10 +4759,11 @@ void test_natsGetJWTOrSeed(void)
char buf[256];
const char *valids[] = {
"--- START JWT ---\nsome value\n--- END JWT ---\n",
"--- START JWT ---\r\nsome value\r\n--- END JWT ---\r\n",
"--- ---\nsome value\n--- ---\n",
"------\nsome value\n------\n",
"---\nabc\n--\n---START---\nsome value\n---END---\n----\ndef\n--- ---\n",
"nothing first\nthen it starts\n --- START ---\nsome value\n--- END ---\n---START---\nof something else\n---END---\n",
"nothing first\nthen it starts\n\r\n --- START ---\r\n\n\n\r\nsome value\n--- END ---\n\n---START---\nof something else\n---END---\n",
"--- START ---\nsome value\n\n\n--- END ---\n",
};
const char *invalids[] = {
Expand Down

0 comments on commit b6381ce

Please sign in to comment.