瀏覽代碼

Fix error message

Michał Śledź 5 天之前
父節點
當前提交
991b82ddeb
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      test/track.cpp

+ 1 - 2
test/track.cpp

@@ -182,8 +182,7 @@ void test_track() {
 
 
 	if (receivedRtpRaw.size() != rtpRaw.size() ||
 	if (receivedRtpRaw.size() != rtpRaw.size() ||
 	    memcmp(receivedRtpRaw.data(), rtpRaw.data(), rtpRaw.size()) != 0) {
 	    memcmp(receivedRtpRaw.data(), rtpRaw.data(), rtpRaw.size()) != 0) {
-		throw runtime_error(
-		    "Received RTP packet is different than the packet that was sent memcmp");
+		throw runtime_error("Received RTP packet is different than the packet that was sent");
 	}
 	}
 
 
 	// Delay close of peer 2 to check closing works properly
 	// Delay close of peer 2 to check closing works properly