From 8ed6a39ed6ba9914eee3aea190220a9fe34f67c8 Mon Sep 17 00:00:00 2001 From: Zack Siri Date: Tue, 7 Jan 2025 20:39:32 +0700 Subject: [PATCH] Add assertion keyword --- test/uplink/nodes/router_test.exs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/uplink/nodes/router_test.exs b/test/uplink/nodes/router_test.exs index 5ae5cc4..6ba0336 100644 --- a/test/uplink/nodes/router_test.exs +++ b/test/uplink/nodes/router_test.exs @@ -78,12 +78,12 @@ defmodule Uplink.Nodes.RouterTest do [node] = nodes - %{ - "cpu_cores_count" => _, - "name" => _, - "total_memory" => _, - "total_storage" => _ - } = node + assert %{ + "cpu_cores_count" => _, + "name" => _, + "total_memory" => _, + "total_storage" => _ + } = node assert conn.status == 200 end