Commit 8db8fda4 authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

check-spaces fixes for test_router.c

parent 696b484d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -11,17 +11,16 @@
#include "router.h"
#include "test.h"


/** Tese the case when node_get_by_id() returns NULL, node_describe_by_id
 * should return the base 16 encoding of the id.
 */
static void
test_node_describe_by_id_null_node(void *arg)
{
  const char ID[] = "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
                    "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA";
  (void) arg;

  #define ID "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"

  /* make sure node_get_by_id returns NULL */
  test_assert(!node_get_by_id(ID));
  test_streq(node_describe_by_id(ID),