github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/test_chdir/data_test.go (about)

     1  package test_chdir
     2  
     3  import (
     4  	"os"
     5  	"testing"
     6  )
     7  
     8  func TestLocal(t *testing.T) {
     9  	_, err := os.Stat("data.txt")
    10  	if err != nil {
    11  		t.Errorf("could not stat local.txt: %v", err)
    12  	}
    13  }