diff --git a/tidelift_yml_test.go b/tidelift_yml_test.go index 4df7a54..9852695 100644 --- a/tidelift_yml_test.go +++ b/tidelift_yml_test.go @@ -27,6 +27,9 @@ func TestPassesMinimumRequirements(t *testing.T) { } func TestReadTideliftYamlFile(t *testing.T) { - yamlFile := string(readTideliftYamlFile("test/good_config")) - assert.Equal(t, "team-name: tidelift\nrepository-name: fake\n", yamlFile, "should have parsed") + yamlFile := readTideliftYamlFile("test/good_config") + assert.Equal(t, + []byte("team-name: tidelift\nrepository-name: fake\n"), + yamlFile, + "should have loaded file into []byte") }