diff --git a/tests/test-lfs-largefiles.t b/tests/test-lfs-largefiles.t
index 4c61c7f75de6c1d25d04a624b57d7260b5ddedb0_dGVzdHMvdGVzdC1sZnMtbGFyZ2VmaWxlcy50..ad5a644738400f8b87c788fa8b96f68c7a80405c_dGVzdHMvdGVzdC1sZnMtbGFyZ2VmaWxlcy50 100644
--- a/tests/test-lfs-largefiles.t
+++ b/tests/test-lfs-largefiles.t
@@ -345,7 +345,7 @@
 breaks you can get 1048576 lines of +y in the output, which takes a looooooong
 time to print.
   $ hg diff -r 2:3 | head -n 20
-  $ hg diff -r 2:6
+  $ hg diff -r 2:6 | head -n 20
   diff -r e989d0fa3764 -r 752e3a0d8488 large.bin
   --- a/large.bin	Thu Jan 01 00:00:00 1970 +0000
   +++ b/large.bin	Thu Jan 01 00:00:00 1970 +0000