*: reflow comments to 80 characters
This reformats the entire Metropolis codebase to have comments no longer
than 80 characters, implementing CR/66.
This has been done half manually, as we don't have a good integration
between commentwrap/Bazel, but that can be implemented if we decide to
go for this tool/limit.
Change-Id: If1fff0b093ef806f5dc00551c11506e8290379d0
diff --git a/metropolis/pkg/loop/loop_test.go b/metropolis/pkg/loop/loop_test.go
index 1ddb34f..16ead64 100644
--- a/metropolis/pkg/loop/loop_test.go
+++ b/metropolis/pkg/loop/loop_test.go
@@ -32,8 +32,9 @@
"golang.org/x/sys/unix"
)
-// Write a test file with a very specific pattern (increasing little-endian 16 bit unsigned integers) to detect offset
-// correctness. File is always 128KiB large (2^16 * 2 bytes).
+// Write a test file with a very specific pattern (increasing little-endian 16
+// bit unsigned integers) to detect offset correctness. File is always 128KiB
+// large (2^16 * 2 bytes).
func makeTestFile() *os.File {
f, err := ioutil.TempFile("/tmp", "")
if err != nil {
@@ -100,8 +101,9 @@
backingFile, err := dev.BackingFilePath()
assert.NoError(t, err)
- // The filename of the temporary file is not available in this context, but we know that the file
- // needs to be in /tmp, which should be a good-enough test.
+ // The filename of the temporary file is not available in this context, but
+ // we know that the file needs to be in /tmp, which should be a good-enough
+ // test.
assert.Contains(t, backingFile, "/tmp/")
}