Skip to content

Commit

Permalink
fix capitalisation of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Dec 19, 2024
1 parent 7a58235 commit a186041
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/schema/typeresolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ 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")

// Push a new scope for "test" module's decls
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)

Expand Down

0 comments on commit a186041

Please sign in to comment.