From 31c075d150c8af160ba7c84d9b50ab1c94197674 Mon Sep 17 00:00:00 2001 From: Zach Klippenstein Date: Sun, 3 May 2015 18:31:03 -0700 Subject: [PATCH] Fix tests. --- sync_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_client_test.go b/sync_client_test.go index f01220b..ffff2f2 100644 --- a/sync_client_test.go +++ b/sync_client_test.go @@ -27,7 +27,7 @@ func TestStatValid(t *testing.T) { entry, err := stat(conn, "/thing") assert.NoError(t, err) assert.Equal(t, mode, entry.Mode, "expected os.FileMode %s, got %s", mode, entry.Mode) - assert.Equal(t, 4, entry.Size) + assert.Equal(t, int32(4), entry.Size) assert.Equal(t, someTime, entry.ModifiedAt) assert.Equal(t, "", entry.Name) }