Fix ast_event_new unit test.
authorRussell Bryant <russell@russellbryant.com>
Mon, 30 Jul 2012 13:45:42 +0000 (13:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 30 Jul 2012 13:45:42 +0000 (13:45 +0000)
commitee04ec77b4eab7b4e875223c8783283dc6e2b962
tree40bb7f67174316cef97f2188f186dfbb0225219c
parentfd1114659298072d639b691095825b66252a2f3d
Fix ast_event_new unit test.

One of my recent commits broke this test.  The error was:

[test_event.c:event_new_test:214]: Events expected to be identical
have different size: 69 != 59

The difference in size occurred because the first event had
the EID IE added to the event twice.  ast_event_new() now always
adds it automatically.  Previously it only added it if there
were no IEs specified, which was kind of weird.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
tests/test_event.c