File: fish_test.go

package info (click to toggle)
golang-github-urfave-cli 1.22.5-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 704 kB
  • sloc: sh: 17; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package cli

import (
	"testing"
)

func TestFishCompletion(t *testing.T) {
	// Given
	app := testApp()

	// When
	res, err := app.ToFishCompletion()

	// Then
	expect(t, err, nil)
	expectFileContent(t, "testdata/expected-fish-full.fish", res)
}