(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestGetFullVersionString(t *testing.T) { |
| 48 | fullVersion := GetFullVersionString() |
| 49 | |
| 50 | if fullVersion == "" { |
| 51 | t.Error("GetFullVersionString() should not return empty string") |
| 52 | } |
| 53 | |
| 54 | if fullVersion[0] != 'v' { |
| 55 | t.Error("GetFullVersionString() should start with 'v'") |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | func TestGetBuildDate(t *testing.T) { |
| 60 | info := GetBuildInfo() |
nothing calls this directly
no test coverage detected