1
- // This file is part of arduino-check .
1
+ // This file is part of arduino-lint .
2
2
//
3
3
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4
4
//
5
5
// This software is released under the GNU General Public License version 3,
6
- // which covers the main part of arduino-check .
6
+ // which covers the main part of arduino-lint .
7
7
// The terms of this license can be found at:
8
8
// https://www.gnu.org/licenses/gpl-3.0.en.html
9
9
//
@@ -19,7 +19,7 @@ import (
19
19
"regexp"
20
20
"testing"
21
21
22
- "github.com/arduino/arduino-check /check/checkdata/schema/testdata"
22
+ "github.com/arduino/arduino-lint /check/checkdata/schema/testdata"
23
23
"github.com/arduino/go-properties-orderedmap"
24
24
"github.com/ory/jsonschema/v3"
25
25
"github.com/stretchr/testify/require"
@@ -199,14 +199,14 @@ func Test_schemaID(t *testing.T) {
199
199
require .NotNil (t , err )
200
200
201
201
id , err := schemaID ("valid-schema.json" , testdata .Asset )
202
- require .Equal (t , "https://raw.githubusercontent.com/arduino/arduino-check /main/check/checkdata/schema/testdata/schema-with-references.json" , id )
202
+ require .Equal (t , "https://raw.githubusercontent.com/arduino/arduino-lint /main/check/checkdata/schema/testdata/schema-with-references.json" , id )
203
203
require .Nil (t , err )
204
204
}
205
205
206
206
func Test_validationErrorSchemaPointerValue (t * testing.T ) {
207
207
validationError := ValidationResult {
208
208
Result : & jsonschema.ValidationError {
209
- SchemaURL : "https://raw.githubusercontent.com/arduino/arduino-check /main/check/checkdata/schema/testdata/referenced-schema-1.json" ,
209
+ SchemaURL : "https://raw.githubusercontent.com/arduino/arduino-lint /main/check/checkdata/schema/testdata/referenced-schema-1.json" ,
210
210
SchemaPtr : "#/definitions/patternObject/pattern" ,
211
211
},
212
212
dataLoader : testdata .Asset ,
0 commit comments