projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
633a408
)
[tests] use double quotes for \0
author
Paul Brossier
<piem@piem.org>
Sun, 16 Dec 2018 18:04:08 +0000
(19:04 +0100)
committer
Paul Brossier
<piem@piem.org>
Sun, 16 Dec 2018 18:04:08 +0000
(19:04 +0100)
tests/src/io/base-source_custom.h
patch
|
blob
|
history
diff --git
a/tests/src/io/base-source_custom.h
b/tests/src/io/base-source_custom.h
index
3991160
..
cff2d3e
100644
(file)
--- a/
tests/src/io/base-source_custom.h
+++ b/
tests/src/io/base-source_custom.h
@@
-74,7
+74,7
@@
int test_wrong_params(void)
aubio_source_custom_t *s;
if (new_aubio_source_custom(0, samplerate, hop_size)) return 1;
- if (new_aubio_source_custom(
'\0'
, samplerate, hop_size)) return 1;
+ if (new_aubio_source_custom(
"\0"
, samplerate, hop_size)) return 1;
if (new_aubio_source_custom(uri, -1, hop_size)) return 1;
if (new_aubio_source_custom(uri, 0, 0)) return 1;