Rename test/testdata to test/data

This commit is contained in:
Nigel Tao committed 2018-03-16 10:48:33 +11:00
1 parent bbc3d34e1b
commit d1399fac19
107 files changed
+110 -114

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ func main() {
}
func main1() error {
src, err := ioutil.ReadFile("../../test/testdata/harvesters.gif")
src, err := ioutil.ReadFile("../../test/data/harvesters.gif")
if err != nil {
return err
}
+1 -1
View File
@@ -62,7 +62,7 @@ const LAST_PIXEL: u8 = 3; // Bottom right pixel's blue component is 0x03.
fn main() {
let mut dst = [0; NUM_BYTES];
let src = include_bytes!("../../../test/testdata/harvesters.gif");
let src = include_bytes!("../../../test/data/harvesters.gif");
let start = Instant::now();
+1 -1
View File
@@ -50,7 +50,7 @@ const LAST_PIXEL: u8 = 1; // Bottom right pixel's palette index is 0x01.
fn main() {
let mut dst = [0; NUM_BYTES];
let src = include_bytes!("../../../test/testdata/harvesters.gif");
let src = include_bytes!("../../../test/data/harvesters.gif");
let start = Instant::now();
+1 -1
View File
@@ -20,7 +20,7 @@ package main
// #include lines that uses "quoted files" (but not <bracketed files>).
//
// The output should be a stand-alone C file that other people can easily
// compile and run with no further dependencies, other than testdata files.
// compile and run with no further dependencies, other than test/data files.
//
// Usage: go run inline-c-relative-includes.go path/to/foo.c