Skip to content

test: add TestIsExportedAndBuiltin and TestRegisterDuplicateService in server_test.go - #100

Open
aoright wants to merge 1 commit into
gorilla:mainfrom
aoright:test/isexported-and-duplicate-service-tests
Open

test: add TestIsExportedAndBuiltin and TestRegisterDuplicateService in server_test.go#100
aoright wants to merge 1 commit into
gorilla:mainfrom
aoright:test/isexported-and-duplicate-service-tests

Conversation

@aoright

@aoright aoright commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • Add TestIsExportedAndBuiltin in server_test.go to test isExported and isExportedOrBuiltin helper functions for exported identifiers, unexported identifiers, builtin types, and pointer types.
  • Add TestRegisterDuplicateService to verify that registering duplicate service names on Server returns an error as expected.

…n server_test.go

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant