Adds an extra testdata file to ensure that there are no
name collisions in the generated code, when it comes to multiple assets with the same file name. This should all receive unique entries, using their directory paths to set them apart.
This commit is contained in:
parent
ae16b2b3c6
commit
7125d6f515
1
testdata/in/test.asset
vendored
Normal file
1
testdata/in/test.asset
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
// sample file
|
7
testdata/out/bindata_debug.go
vendored
7
testdata/out/bindata_debug.go
vendored
|
@ -35,6 +35,13 @@ func testdata_in_b_test_asset() []byte {
|
|||
)
|
||||
}
|
||||
|
||||
func testdata_in_test_asset() []byte {
|
||||
return bindata_read(
|
||||
"/a/code/go/src/github.com/jteeuwen/go-bindata/testdata/in/test.asset",
|
||||
"../testdata/in/test.asset",
|
||||
)
|
||||
}
|
||||
|
||||
func testdata_in_a_test_asset() []byte {
|
||||
return bindata_read(
|
||||
"/a/code/go/src/github.com/jteeuwen/go-bindata/testdata/in/a/test.asset",
|
||||
|
|
9
testdata/out/bindata_release.go
vendored
9
testdata/out/bindata_release.go
vendored
|
@ -28,6 +28,15 @@ func testdata_in_b_test_asset() []byte {
|
|||
)
|
||||
}
|
||||
|
||||
var _testdata_in_test_asset = "\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xd2\xd7\x57\x28\x4e\xcc\x2d\xc8\x49\x55\x48\xcb\xcc\x49\xe5\x02\x04\x00\x00\xff\xff\x8a\x82\x8c\x85\x0f\x00\x00\x00"
|
||||
|
||||
func testdata_in_test_asset() []byte {
|
||||
return bindata_read(
|
||||
_testdata_in_test_asset,
|
||||
"../testdata/in/test.asset",
|
||||
)
|
||||
}
|
||||
|
||||
var _testdata_in_a_test_asset = "\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x2a\x4e\xcc\x2d\xc8\x49\x55\x48\xcb\xcc\x49\xe5\x02\x04\x00\x00\xff\xff\xda\x3d\x49\xdd\x0c\x00\x00\x00"
|
||||
|
||||
func testdata_in_a_test_asset() []byte {
|
||||
|
|
Loading…
Reference in New Issue
Block a user