(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestCurrentVersion(t *testing.T) { |
| 14 | expected := fmt.Sprintf("exercism version %s", Version) |
| 15 | |
| 16 | actual := currentVersion() |
| 17 | assert.Equal(t, expected, actual) |
| 18 | } |
| 19 | |
| 20 | func TestVersionUpdateCheck(t *testing.T) { |
| 21 | fakeEndpoint := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { |
nothing calls this directly
no test coverage detected