package main

import (
    "fmt"
    "testing"
)

func simple() {
    fmt.Println("simple dependency.")
}

func init() {
    // golang version of with-redefs
    bar_impl = simple
}

func TestFoo(t *testing.T) {
    foo()
}