Fix a warning in the workcache test.
This commit is contained in:
parent
c14105bb8a
commit
b865b4b70d
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ fn test() {
|
||||||
let pth = Path("foo.c");
|
let pth = Path("foo.c");
|
||||||
{
|
{
|
||||||
let file = io::file_writer(&pth, [io::Create]).get();
|
let file = io::file_writer(&pth, [io::Create]).get();
|
||||||
file.write_str("void main() { }");
|
file.write_str("int main() { return 0; }");
|
||||||
}
|
}
|
||||||
|
|
||||||
prep.declare_input("file", pth.to_str(), digest_file(&pth));
|
prep.declare_input("file", pth.to_str(), digest_file(&pth));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue