mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
Rename test/testdata to test/data
This commit is contained in:
1 parent
bbc3d34e1b
commit
d1399fac19
107 files changed
+110
-114
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user