Skip to content

Commit 2b8fa1c

Browse files
committed
chore: Format test cases
1 parent c08c04e commit 2b8fa1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/util-file.test.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ describe('openapi-format CLI file tests', () => {
221221
});
222222

223223
test('should use detected quote style for keys when YAML key quoting is required', async () => {
224-
const obj = {responses: {'200': {description: 'ok'}}};
224+
const obj = {responses: {200: {description: 'ok'}}};
225225

226226
const result = await stringify(obj, {
227227
format: 'yaml',
@@ -327,7 +327,7 @@ describe('openapi-format CLI file tests', () => {
327327
const result = await parseString(yamlString, options);
328328

329329
expect(result).toEqual({
330-
responses: {'200': 'ok', '404': 'nope'},
330+
responses: {200: 'ok', 404: 'nope'},
331331
meta: 'value'
332332
});
333333
expect(options.detectedYamlQuoteStyle).toBe('double');

0 commit comments

Comments
 (0)