Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
spr0cketeer
Icecast-Server
Commits
88aa6c60
Commit
88aa6c60
authored
Aug 08, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update: Added additional diagnostic for resource matches
parent
6cf45fd1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/ctest_resourcematch.c
tests/ctest_resourcematch.c
+2
-0
No files found.
tests/ctest_resourcematch.c
View file @
88aa6c60
...
...
@@ -114,6 +114,8 @@ static inline resourcematch_result_t run_test_base(const struct test *test, reso
snprintf
(
name
,
sizeof
(
name
),
"pattern
\"
%s
\"
and string
\"
%s
\"
%s extract"
,
test
->
pattern
,
test
->
string
,
extract
?
"with"
:
"without"
);
ctest_test
(
name
,
test
->
expected_result
==
ret
&&
ok
);
ctest_diagnostic_printf
(
"Expected: %s, Got: %s, Ok: %i"
,
res2str
(
test
->
expected_result
),
res2str
(
ret
),
ok
);
return
ret
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment