mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
IsConfiguration: add&fix failing Python case to Go
test plan: * ENRY_TEST_REPO=".linguist" \ go test -run '^TestIsConfiguration$' github.com/go-enry/go-enry/v2
This commit is contained in:
@ -139,6 +139,7 @@ func TestIsConfiguration(t *testing.T) {
|
||||
{name: "TestIsConfiguration_1", path: "foo", expected: false},
|
||||
{name: "TestIsConfiguration_2", path: "foo.ini", expected: true},
|
||||
{name: "TestIsConfiguration_3", path: "/test/path/foo.json", expected: true},
|
||||
{name: "TestIsConfiguration_YAML", path: "configuration.yml", expected: true},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
Reference in New Issue
Block a user