diff --git a/test/unit/core/plugins/oas31/components/fn.js b/test/unit/core/plugins/oas31/fn.js similarity index 90% rename from test/unit/core/plugins/oas31/components/fn.js rename to test/unit/core/plugins/oas31/fn.js index 455940ab..92911c88 100644 --- a/test/unit/core/plugins/oas31/components/fn.js +++ b/test/unit/core/plugins/oas31/fn.js @@ -9,6 +9,7 @@ describe("isOAS31", function () { it("should recognize valid OAS31 version values", function () { expect(isOAS31Shorthand("3.1.0")).toEqual(true) expect(isOAS31Shorthand("3.1.1")).toEqual(true) + expect(isOAS31Shorthand("3.1.12")).toEqual(true) expect(isOAS31Shorthand("3.2.0")).toEqual(false) expect(isOAS31Shorthand("3.0.0-rc0")).toEqual(false) })