github.com/sandwich-go/boost@v1.3.29/xos/binary_test.go (about)

     1  package xos
     2  
     3  import (
     4  	. "github.com/smartystreets/goconvey/convey"
     5  	"testing"
     6  )
     7  
     8  func TestBinary(t *testing.T) {
     9  	Convey("search binary file", t, func() {
    10  		file := "binary.go"
    11  		So(SearchBinary(file), ShouldEqual, file)
    12  		So(SearchBinaryPath(file), ShouldBeEmpty)
    13  	})
    14  }