Files
plainleaf/server/version_test.go
T
Zef HemelandGitHub a524c64884 Go backend (#1555)
* Replaces old Deno server with a Go implementation
* Restructured the code base accordingly
2025-09-19 13:23:20 +02:00

14 lines
263 B
Go

package server
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestVersionParsing(t *testing.T) {
version, err := ParseVersionFromTypeScript(`export const publicVersion = "2.0.0"`)
assert.NoError(t, err)
assert.Equal(t, "2.0.0", version)
}