Fix stasis/core unit test. Should have had the CR/LF.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 8 Aug 2013 22:57:06 +0000 (22:57 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 8 Aug 2013 22:57:06 +0000 (22:57 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396480 65c4cc65-6c06-0410-ace0-fbb531ad65f3

tests/test_stasis.c

index 5b36dbc..1e46056 100644 (file)
@@ -1245,7 +1245,7 @@ AST_TEST_DEFINE(to_ami)
        RAII_VAR(char *, data, NULL, ao2_cleanup);
        RAII_VAR(struct ast_manager_event_blob *, actual, NULL, ao2_cleanup);
        const char *expected_text = "SomeData";
        RAII_VAR(char *, data, NULL, ao2_cleanup);
        RAII_VAR(struct ast_manager_event_blob *, actual, NULL, ao2_cleanup);
        const char *expected_text = "SomeData";
-       const char *expected = "Message: SomeData";
+       const char *expected = "Message: SomeData\r\n";
 
        switch (cmd) {
        case TEST_INIT:
 
        switch (cmd) {
        case TEST_INIT: