@@ -33,14 +33,14 @@ func TestNewArrayBytesFromOAS(t *testing.T) {
3333	}{
3434		{
3535			name :     "JSON with HTML characters" ,
36- 			spec :     getTestSpecWithHtmlChars (),
36+ 			spec :     getTestSpecWithHTMLChars (),
3737			path :     "test.json" ,
3838			format :   "json" ,
3939			expected : "<test>&</test>" ,
4040		},
4141		{
4242			name :     "YAML with HTML characters" ,
43- 			spec :     getTestSpecWithHtmlChars (),
43+ 			spec :     getTestSpecWithHTMLChars (),
4444			path :     "test.yaml" ,
4545			format :   "yaml" ,
4646			expected : "<test>&</test>" ,
@@ -101,29 +101,29 @@ func TestSaveToFileFormats(t *testing.T) {
101101	}{
102102		{
103103			name :     "JSON with HTML characters" ,
104- 			spec :     getTestSpecWithHtmlChars (),
104+ 			spec :     getTestSpecWithHTMLChars (),
105105			path :     "test.json" ,
106106			format :   "json" ,
107107			expected : "<test>&</test>" ,
108108		},
109109		{
110110			name : "YAML with HTML characters" ,
111- 			spec : getTestSpecWithHtmlChars (),
111+ 			spec : getTestSpecWithHTMLChars (),
112112
113113			path :     "test.yaml" ,
114114			format :   "yaml" ,
115115			expected : "<test>&</test>" ,
116116		},
117117		{
118118			name :     "all with HTML characters" ,
119- 			spec :     getTestSpecWithHtmlChars (),
119+ 			spec :     getTestSpecWithHTMLChars (),
120120			path :     "test.yaml" ,
121121			format :   "all" ,
122122			expected : "<test>&</test>" ,
123123		},
124124		{
125125			name :     "empty format with HTML characters" ,
126- 			spec :     getTestSpecWithHtmlChars (),
126+ 			spec :     getTestSpecWithHTMLChars (),
127127			path :     "test.yaml" ,
128128			format :   "" ,
129129			expected : "<test>&</test>" ,
@@ -145,7 +145,7 @@ func TestSaveToFileFormats(t *testing.T) {
145145
146146func  TestSaveToFile_All (t  * testing.T ) {
147147	fs  :=  afero .NewMemMapFs ()
148- 	err  :=  SaveToFile ("test.yaml" , "all" , getTestSpecWithHtmlChars (), fs )
148+ 	err  :=  SaveToFile ("test.yaml" , "all" , getTestSpecWithHTMLChars (), fs )
149149	require .NoError (t , err )
150150
151151	// read yaml file 
@@ -159,7 +159,7 @@ func TestSaveToFile_All(t *testing.T) {
159159	assert .Contains (t , string (data ), "<test>&</test>" )
160160}
161161
162- func  getTestSpecWithHtmlChars () * Spec  {
162+ func  getTestSpecWithHTMLChars () * Spec  {
163163	return  & Spec {
164164		Paths : openapi3 .NewPaths (
165165			openapi3 .WithPath (
0 commit comments