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:
Jim Teeuwen 2013-10-30 02:19:24 +01:00
parent ae16b2b3c6
commit 7125d6f515
3 changed files with 17 additions and 0 deletions

1
testdata/in/test.asset vendored Normal file
View File

@ -0,0 +1 @@
// sample file

View File

@ -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",

View File

@ -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 {