title: Golang testing of functions declared as variable (testify)
body: <p>I have a problem firing a function declared as variable in golang with testify.</p>
  
  <p>Test and function both declared in same package.</p>
  
  <pre><code>var testableFunction = func(abc string) string {...}
  </code></pre>
  
  <p>now i have a different file with unit test calling testableFunction</p>
  
  <pre><code>func TestFunction(t *testing.T){
       ...
       res:=testableFunction("abc")
       ...
  }
  </code></pre>
  
  <p>Calling TestFunction with <code>go test</code> does not fire any exception, but testableFunction is actually never run. Why?</p>