Fix a unit test typo (thanks Providence Salumu Munga

This commit is contained in:
Raj Bhattacharjea committed 2008-08-19 14:13:01 -04:00
1 parent 2f01408db6
commit fb7d8ef9b1
1 file changed
+2 -2
+2 -2
View File
@@ -1739,7 +1739,7 @@ TcpSocketImplTest::Test1_HandleConnectionCreated (Ptr<Socket> s, const Address &
void
TcpSocketImplTest::Test1_HandleRecv (Ptr<Socket> sock)
{
NS_ASSERT (sock == sock0 | sock == sock1);
NS_ASSERT (sock == sock0 || sock == sock1);
Ptr<Packet> p = sock->Recv();
uint32_t sz = p->GetSize();
if (sock == sock1)
@@ -1769,7 +1769,7 @@ TcpSocketImplTest::Test2_HandleConnectionCreated (Ptr<Socket> s, const Address &
void
TcpSocketImplTest::Test2_HandleRecv (Ptr<Socket> sock)
{
NS_ASSERT (sock == sock0 | sock == sock1);
NS_ASSERT (sock == sock0 || sock == sock1);
Ptr<Packet> p = sock->Recv();
uint32_t sz = p->GetSize();
if (sock == sock1)