Small cleanups, no change in exec.

This commit is contained in:
Jeffrey Regan
2019-01-14 15:35:03 -08:00
parent 73624da253
commit ea1dd08a8c
5 changed files with 41 additions and 26 deletions

View File

@@ -64,7 +64,7 @@ func TestLoaderLoad(t *testing.T) {
for _, x := range testCases {
b, err := l1.Load(x.path)
if err != nil {
t.Fatalf("unexpected load error %v", err)
t.Fatalf("unexpected load error: %v", err)
}
if !reflect.DeepEqual([]byte(x.expectedContent), b) {
t.Fatalf("in load expected %s, but got %s", x.expectedContent, b)