Csaba Osztrogonác bd1acb51a4 tools: enforce restriction on YAML includes key
Includes key should use flow notation to be able parsed easier
as suggested in https://github.com/tc39/test262/issues/1997

Added this check to the linting script and updated tests accordingly.
2022-01-05 17:27:58 -05:00

15 lines
409 B
JavaScript

// Copyright (c) 2021 Jamie Kyle. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-object.hasown
description: Testing descriptor property of Object.hasOwn
includes: [propertyHelper.js]
author: Jamie Kyle
features: [Object.hasOwn]
---*/
verifyWritable(Object, "hasOwn");
verifyNotEnumerable(Object, "hasOwn");
verifyConfigurable(Object, "hasOwn");