File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ func TestGenSkillsDir(t *testing.T) {
9797 config := SkillsConfig {
9898 Name : "my-tool" ,
9999 Description : "A test tool" ,
100+ Notes : []string {
101+ "Most list commands support -o json." ,
102+ },
100103 }
101104 if err := GenSkillsDir (rootCmd , tmpdir , config ); err != nil {
102105 t .Fatalf ("GenSkillsDir failed: %v" , err )
@@ -118,6 +121,8 @@ func TestGenSkillsDir(t *testing.T) {
118121 checkStringContains (t , skillContent , "references/root.md" )
119122 checkStringOmits (t , skillContent , "### Examples" )
120123 checkStringOmits (t , skillContent , "### Options" )
124+ checkStringContains (t , skillContent , "## Notes" )
125+ checkStringContains (t , skillContent , "- Most list commands support -o json." )
121126
122127 refDir := filepath .Join (tmpdir , "my-tool" , "references" )
123128 expectedRefs := []string {
You can’t perform that action at this time.
0 commit comments