mirror of
https://github.com/hanzo-git/runner.git
synced 2026-10-30 19:33:27 +00:00
Native runner: module github.com/hanzo-git/runner, wire proto github.com/hanzo-git/actions-proto-go, command git-runner, GIT_* env, git expr context, git_* task-context keys, ghcr.io/hanzoai/runner-ubuntu job images. Derived work — upstream attribution + MIT terms in NOTICE/LICENSE. Co-authored-by: Hanzo Dev <[email protected]>
14 lines
324 B
Go
14 lines
324 B
Go
// Copyright 2026 The Git Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package ver
|
|
|
|
import "testing"
|
|
|
|
func TestVersion(t *testing.T) {
|
|
// version defaults to "dev" and is overridden at build time via -ldflags
|
|
if got := Version(); got != version {
|
|
t.Errorf("Version() = %q, want %q", got, version)
|
|
}
|
|
}
|