diff options
author | Esteban Manchado Velázquez <emanchado@demiurgo.org> | 2012-02-06 19:53:07 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-03-08 20:49:23 -0500 |
commit | 4e44024cedcd8c1b5e7b7a801023f14d916f1aca (patch) | |
tree | c7ff1f98befa21038ee91e70fc2ac733dd72ae65 /src/test/test_util.c | |
parent | 3c5a3b33e824ce50147be5171eaa75f93c8ae968 (diff) | |
download | tor-4e44024cedcd8c1b5e7b7a801023f14d916f1aca.tar.gz tor-4e44024cedcd8c1b5e7b7a801023f14d916f1aca.zip |
Improve test case for read_escaped_data unit test
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index ee4158431e..0b685f4a99 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -1131,12 +1131,12 @@ test_util_control_formats(void) { char *out = NULL; const char *inp = - "..This is a test\r\nof the emergency \nbroadcast\r\n..system.\r\nZ.\r\n"; + "..This is a test\r\n.of the emergency \n..system.\r\n\rZ.\r\n"; size_t sz; sz = read_escaped_data(inp, strlen(inp), &out); test_streq(out, - ".This is a test\nof the emergency \nbroadcast\n.system.\nZ.\n"); + ".This is a test\nof the emergency \n.system.\n\rZ.\n"); test_eq(sz, strlen(out)); done: |