(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestSetVersion(t *testing.T) { |
| 14 | SetVersion("sasd0.0.1hello") |
| 15 | assert.Equal(t, "0.0.1hello", GetVersion(), "Wrong version set") |
| 16 | } |
| 17 | |
| 18 | func TestEraseVersionPrefix(t *testing.T) { |
| 19 | prefixless, err := eraseVersionPrefix("sasd0.0.1hello") |
nothing calls this directly
no test coverage detected