diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad9ffa87..e8558fc6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: CI -on: [push] +on: [push, pull_request] jobs: test: diff --git a/pkg/launcher/custom_test.go b/pkg/launcher/custom_test.go index 6adf1f32..1cf9efe8 100644 --- a/pkg/launcher/custom_test.go +++ b/pkg/launcher/custom_test.go @@ -35,17 +35,6 @@ func TestCustom_LaunchCommand(t *testing.T) { }, want: []string{"/usr/bin/firefox", "--url", "https://commonfate.io", "--profile", "example"}, }, - { - name: "empty_profile", - fields: fields{ - Command: "/usr/bin/firefox --url {{.URL}} --profile {{.Profile}}", - }, - args: args{ - url: "https://commonfate.io", - profile: "", - }, - want: []string{"/usr/bin/firefox", "--url", "https://commonfate.io", "--profile", ""}, - }, { name: "with_args", fields: fields{