--- get stdout tests ---
()
| 398 | // --- get stdout tests --- |
| 399 | |
| 400 | func testGetCmd() *cobra.Command { |
| 401 | cmd := &cobra.Command{} |
| 402 | cmd.Flags().BoolP("recursive", "r", false, "") |
| 403 | return cmd |
| 404 | } |
| 405 | |
| 406 | func TestGetStdout_WritesContent(t *testing.T) { |
| 407 | content := "file content here" |
no outgoing calls
no test coverage detected