From a186041fcbd52898f301ecbe4d87ade8056e4a6e Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 19 Dec 2024 13:08:19 +1100 Subject: [PATCH] fix capitalisation of comments --- common/schema/typeresolver_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/schema/typeresolver_test.go b/common/schema/typeresolver_test.go index fea1c9ce2..ba8360c2d 100644 --- a/common/schema/typeresolver_test.go +++ b/common/schema/typeresolver_test.go @@ -34,7 +34,7 @@ func TestTypeResolver(t *testing.T) { err = scopes.Add(optional.None[*Module](), otherModule.Name, otherModule) assert.NoError(t, err) - // Resolving "HTTPRequest" should return builtin.HttpRequest + // Resolving "HttpRequest" should return builtin.HttpRequest httpRequest := scopes.Resolve(Ref{Name: "HttpRequest"}) assert.Equal(t, httpRequest.Module.MustGet().Name, "builtin") @@ -42,11 +42,11 @@ func TestTypeResolver(t *testing.T) { scopes = scopes.Push() assert.NoError(t, scopes.AddModuleDecls(module)) - // Resolving "HTTPRequest" should return test.HttpRequest now that we've pushed the new scope + // Resolving "HttpRequest" should return test.HttpRequest now that we've pushed the new scope httpRequest = scopes.Resolve(Ref{Name: "HttpRequest"}) assert.Equal(t, httpRequest.Module.MustGet().Name, "test") - // Resolving "external" should fail + // Resolving "External" should fail external := scopes.Resolve(Ref{Name: "External"}) assert.Equal(t, external, nil)