1
Fork 0

Fix a warning in the workcache test.

This commit is contained in:
Erick Tryzelaar 2012-12-19 17:28:44 -08:00
parent c14105bb8a
commit b865b4b70d

View file

@ -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));