From 5df421956c7e61b6d770b4d5567a9309ac127bc8 Mon Sep 17 00:00:00 2001 From: PJ Date: Mon, 1 Jun 2026 21:56:12 +0530 Subject: [PATCH] test(mock): drop default-field-value assertion test --- internal/driver/mock/mock_test.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/internal/driver/mock/mock_test.go b/internal/driver/mock/mock_test.go index d56da5c..488403d 100644 --- a/internal/driver/mock/mock_test.go +++ b/internal/driver/mock/mock_test.go @@ -9,22 +9,6 @@ import ( "github.com/priyanshujain/sanderling/internal/driver" ) -func TestNew_Defaults(t *testing.T) { - mock := New() - if !mock.HealthInfo.Ready { - t.Errorf("default HealthInfo should be ready") - } - if mock.HealthInfo.Platform != "android" { - t.Errorf("default platform: got %q", mock.HealthInfo.Platform) - } - if mock.HierarchyJSON == "" { - t.Errorf("default hierarchy should be a non-empty JSON") - } - if len(mock.Actions()) != 0 { - t.Errorf("fresh mock should have zero recorded actions") - } -} - func TestRecordsAllActionsInOrder(t *testing.T) { mock := New() ctx := context.Background()