1 /* 2 * Copyright (c) 2017 Nordic Semiconductor ASA 3 * Copyright (c) 2015 Runtime Inc 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 #include "fcb_test.h" 9 ZTEST(fcb_test_with_2sectors_set,test_fcb_empty_walk)10ZTEST(fcb_test_with_2sectors_set, test_fcb_empty_walk) 11 { 12 int rc; 13 struct fcb *fcb; 14 15 fcb = &test_fcb; 16 17 rc = fcb_walk(fcb, 0, fcb_test_empty_walk_cb, NULL); 18 zassert_true(rc == 0, "fcb_walk call failure"); 19 } 20