Commit 8849b26
committed
Fix send zero bytes stream buffer unit test
The change in FreeRTOS/FreeRTOS-Kernel#264
updated prvWriteMessageToBuffer in a way that it no longer calls
prvWriteBytesToBuffer for messages of zero size (prvWriteBytesToBuffer
triggers an assert for messages of zero size). As a result, a zero byte
send to a stream buffer no longer results in assert failure but instead
returns 0. This change updates the zero byte send test to check for 0
return value.
Signed-off-by: Gaurav Aggarwal <[email protected]>1 parent 19271dd commit 8849b26
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| 622 | + | |
622 | 623 | | |
623 | 624 | | |
624 | 625 | | |
| |||
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
| 633 | + | |
| 634 | + | |
637 | 635 | | |
638 | 636 | | |
639 | 637 | | |
| |||
0 commit comments