From c319660b6ec69355f90ec037c15455c333354658 Mon Sep 17 00:00:00 2001 From: Artur Plysyuk Date: Tue, 20 Sep 2022 09:13:48 +0300 Subject: [PATCH] Fix result of getting value by non existent key (#166) --- lib/nebulex/cache.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nebulex/cache.ex b/lib/nebulex/cache.ex index 30b8636e..e1caa5d5 100644 --- a/lib/nebulex/cache.ex +++ b/lib/nebulex/cache.ex @@ -960,7 +960,7 @@ defmodule Nebulex.Cache do :ok iex> MyCache.get(:a) - :ok + nil iex> MyCache.delete(:non_existent_key) :ok