diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-05-02 22:25:54 -0700 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-05-02 22:28:30 -0700 |
| commit | 2be2c1168085e0234a0cf06dab93b6d763bf3f7d (patch) | |
| tree | 8debeb071f9f246785817c97480edceaba1f4cd5 /data/datasource_file_test.go | |
| parent | b65e14e1fda1c005a07ec9b98e746ce3d699521a (diff) | |
Linting more (and fixing more)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'data/datasource_file_test.go')
| -rw-r--r-- | data/datasource_file_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/datasource_file_test.go b/data/datasource_file_test.go index 1284113e..ebdc4c4a 100644 --- a/data/datasource_file_test.go +++ b/data/datasource_file_test.go @@ -59,7 +59,7 @@ func TestReadFile(t *testing.T) { source.fs = fs actual, err = readFile(source, "foo.txt") assert.NoError(t, err) - assert.Equal(t, []byte(content), actual) + assert.Equal(t, content, actual) mime, err = source.mimeType() assert.NoError(t, err) assert.Equal(t, "application/json", mime) |
