@@ -71,7 +71,7 @@ func Echo() *cobra.Command {
71
71
Aliases : []string {"say" },
72
72
Short : "Echo anything to the screen" ,
73
73
Long : "an utterly useless command for testing" ,
74
- Example : " # Example with intro text\n atlas command no intro text\n " ,
74
+ Example : "# Example with intro text\n atlas command no intro text\n " ,
75
75
Annotations : map [string ]string {
76
76
"string to printDesc" : "A string to print" ,
77
77
"test paramDesc" : "just for testing" ,
@@ -129,8 +129,7 @@ func TestGenDocs(t *testing.T) {
129
129
output := buf .String ()
130
130
131
131
checkStringContains (t , output , Echo ().Long )
132
- checkStringContains (t , output , `
133
- # Example with intro text
132
+ checkStringContains (t , output , `# Example with intro text
134
133
atlas command no intro text
135
134
` )
136
135
checkStringContains (t , output , "boolone" )
@@ -157,8 +156,7 @@ func TestGenDocsNoHiddenParents(t *testing.T) {
157
156
output := buf .String ()
158
157
159
158
checkStringContains (t , output , Echo ().Long )
160
- checkStringContains (t , output , `
161
- # Example with intro text
159
+ checkStringContains (t , output , `# Example with intro text
162
160
atlas command no intro text
163
161
` )
164
162
checkStringContains (t , output , "boolone" )
0 commit comments