Remove leading/trailing blank lines in .c, .h, .py, .rst, .yml, and .yaml files. Will avoid failures with the new CI test in https://github.com/zephyrproject-rtos/ci-tools/pull/112, though it only checks changed files. Move the 'target-notes' target in boards/xtensa/odroid_go/doc/index.rst to get rid of the trailing blank line there. It was probably misplaced. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
26 lines
490 B
C
26 lines
490 B
C
/*
|
|
* Copyright (c) 2017 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include "test_queue.h"
|
|
|
|
#define TIMEOUT 100
|
|
|
|
/*test cases*/
|
|
/**
|
|
* @brief Test k_queue_get() failure scenario
|
|
* @ingroup kernel_queue_tests
|
|
* @see k_queue_get()
|
|
*/
|
|
void test_queue_get_fail(void)
|
|
{
|
|
struct k_queue queue;
|
|
|
|
k_queue_init(&queue);
|
|
/**TESTPOINT: queue get returns NULL*/
|
|
zassert_is_null(k_queue_get(&queue, K_NO_WAIT), NULL);
|
|
zassert_is_null(k_queue_get(&queue, TIMEOUT), NULL);
|
|
}
|