Skip to content

Commit 55213fd

Browse files
committed
adapted test expectations for error messages reported by windows
Signed-off-by: Frederic BIDON <[email protected]>
1 parent 82a5aa1 commit 55213fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fixtures/validation/expected_messages.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ fixture-342.yaml:
442442
- message: 'parameters.stillnogood.in in body is required'
443443
withContinueOnErrors: false
444444
isRegexp: false
445-
- message: 'could not resolve reference in "\/get_main_object"\.GET to \$ref nowhere\.yaml#\/definitions\/sample_info\/properties\/sid: open .+nowhere\.yaml: no such file or directory'
445+
- message: 'could not resolve reference in "\/get_main_object"\.GET to \$ref nowhere\.yaml#\/definitions\/sample_info\/properties\/sid: open .+nowhere\.yaml:\s.*'
446446
withContinueOnErrors: true
447447
isRegexp: true
448448
expectedWarnings:
@@ -1287,11 +1287,11 @@ petstore-expanded.json:
12871287
withContinueOnErrors: false
12881288
isRegexp: false
12891289
# this one is a regexp since the full absolute path of the ref is reported
1290-
- message: 'could not resolve reference in newPet to \$ref pet: open .*\/pet: no such file or directory'
1290+
- message: 'could not resolve reference in newPet to \$ref pet: open .*[\/\\]pet:\s.+'
12911291
withContinueOnErrors: true
12921292
isRegexp: true
12931293
# with systematic response expansion, get more errors
1294-
- message: 'could not resolve reference in "\/pets".POST to \$ref .*: open .*: no such file or directory'
1294+
- message: 'could not resolve reference in "\/pets".POST to \$ref .*: open .*:\s.+'
12951295
withContinueOnErrors: true
12961296
isRegexp: true
12971297
expectedWarnings: []

0 commit comments

Comments
 (0)