From 8d86c326216d46f354517973648db9df5969e8b8 Mon Sep 17 00:00:00 2001 From: Vasil Averyanau Date: Thu, 12 Dec 2024 12:17:45 +0100 Subject: [PATCH] refactor: adds empty lines to metadata_test for consistency. --- pkg/cloudmeta/metadata_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cloudmeta/metadata_test.go b/pkg/cloudmeta/metadata_test.go index 736cdfe03..940e20524 100644 --- a/pkg/cloudmeta/metadata_test.go +++ b/pkg/cloudmeta/metadata_test.go @@ -17,6 +17,7 @@ func TestGetInstanceMetadata(t *testing.T) { if !errors.Is(err, ErrNoProviders) { t.Fatalf("expected err, got: %v", err) } + if meta.InstanceType != "" { t.Fatalf("meta.InstanceType should be empty, got %v", meta.InstanceType) }