Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 291 Bytes
package v8go_test
import (
func TestVersion(t *testing.T) {
rgx := regexp.MustCompile(`^\d+\.\d+\.\d+\.\d+-v8go$`)
v := v8go.Version()
if !rgx.MatchString(v) {
t.Errorf("version string is in the incorrect format: %s", v)
You can’t perform that action at this time.