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
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ fn test() {
let pth = Path("foo.c");
{
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));