From 394b601baa1d3a79e4eed4dab9ccd95ce288b0b2 Mon Sep 17 00:00:00 2001 From: b4b4r07 Date: Thu, 24 Mar 2022 21:55:34 +0900 Subject: [PATCH] Add test --- pkg/state/state_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/state/state_test.go b/pkg/state/state_test.go index d1a88e3..8f4899a 100644 --- a/pkg/state/state_test.go +++ b/pkg/state/state_test.go @@ -45,7 +45,7 @@ func TestOpen(t *testing.T) { }{ "Empty": { filename: "empty.json", - state: &State{path: "empty.json"}, + state: &State{Self: Self{Resources: map[string]Resource{}}, path: "empty.json"}, }, "Open": { filename: "state.json",