diff --git a/main_test.go b/main_test.go index 841eb3e..f4f2690 100644 --- a/main_test.go +++ b/main_test.go @@ -29,6 +29,10 @@ func TestParseConfig(t *testing.T) { input: "version_prefix=v\ngit_sign=t\n", expect: config{versionPrefix: "v", sign: true}, }, + { + input: "# My config\nversion_prefix=v\ngit_sign=t\n", + expect: config{versionPrefix: "v", sign: true}, + }, { input: "VERSION_PREFIX=v\nGIT_SIGN=false\n", expect: config{versionPrefix: "v", sign: false},