Skip to main content
Glama
gzip_test.go470 B
package compression_test import ( "lunar/engine/utils/compression" "lunar/toolkit-core/testutils" "testing" "github.com/stretchr/testify/assert" ) func TestDecompressGZip(t *testing.T) { t.Parallel() originalInput := "hello, world" compressed := testutils.CompressGZip(originalInput) assert.NotEqual(t, compressed, originalInput) decompressed, err := compression.DecompressGZip(compressed) assert.Nil(t, err) assert.Equal(t, decompressed, originalInput) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheLunarCompany/lunar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server