Skip to content

Commit 9f89a07

Browse files
authored
Fix OAS3 version validation test cases
1 parent 2ae6304 commit 9f89a07

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/unit/core/plugins/oas3/helpers.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ describe("isOAS3", function () {
1414
expect(isOAS3Shorthand("3.0.0")).toEqual(true)
1515
expect(isOAS3Shorthand("3.0.1")).toEqual(true)
1616
expect(isOAS3Shorthand("3.0.4")).toEqual(true)
17-
expect(isOAS3Shorthand("3.0.11111")).toEqual(false)
18-
expect(isOAS3Shorthand("3.0.0-rc0")).toEqual(true)
17+
expect(isOAS3Shorthand("3.0.11111")).toEqual(true)
18+
expect(isOAS3Shorthand("3.0.0-rc0")).toEqual(false)
19+
20+
1921
})
2022

2123
it("should fail for invalid OAS3 version values", function () {

0 commit comments

Comments
 (0)