12 lines
281 B
Go
12 lines
281 B
Go
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
package version
|
|
|
|
import "testing"
|
|
|
|
// TestString checks that an unstamped build reports the development version.
|
|
func TestString(t *testing.T) {
|
|
if got := String(); got != "dev" {
|
|
t.Fatalf("String() = %q, want %q", got, "dev")
|
|
}
|
|
}
|