File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ func loadTest(dir string) (result TestData, err error) {
9898 if err != nil {
9999 return
100100 }
101- result .ClassInfo , err = unmarshallFile [map [string ]string ](fmt .Sprintf ("testdata/%s/classinfo .json" , dir ))
101+ result .ClassInfo , err = unmarshallFile [map [string ]string ](fmt .Sprintf ("testdata/%s/classInfo .json" , dir ))
102102 if err != nil {
103103 return
104104 }
@@ -158,7 +158,7 @@ func updateTestData() error {
158158 hash := sha256 .Sum256 (htmlBytes )
159159 hashStr := hex .EncodeToString (hash [:])
160160 if duplicate := duplicates [hashStr ]; duplicate {
161- log .Printf ("Duplicate test found %s, slipping \n " , input )
161+ log .Printf ("Duplicate test found %s, skipping \n " , input )
162162 continue
163163 } else {
164164 duplicates [hashStr ] = true
@@ -202,7 +202,7 @@ func updateTestData() error {
202202 return fmt .Errorf ("failed to write course %v: %v" , course .Id , err )
203203 }
204204
205- if err = utils .WriteJSON (filepath .Join (caseDir , "ClassInfo .json" ), classInfo ); err != nil {
205+ if err = utils .WriteJSON (filepath .Join (caseDir , "classInfo .json" ), classInfo ); err != nil {
206206 return fmt .Errorf ("failed to write class info %v" , err )
207207 }
208208
You can’t perform that action at this time.
0 commit comments