From 16ef6ad10dea96461c0a2a5c377dc536688fff6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=AD=90caitp=E2=AD=90?= <caitp@users.noreply.github.com> Date: Sat, 15 Dec 2018 05:40:37 -0500 Subject: [PATCH] Get rid of the leading empty line in info block (#1993) This makes v8's _monkeyYaml happy --- without it, the info block never ends, and we fail to parse the `features` key. An explicit indentation marker isn't used because monkeyYaml doesn't supported it, and adding it might slightly slow things down. Using PyYAML instead was considered, but after trying it, I don't think it looks viable. [simple test cases](https://gist.github.com/caitp/4a59a67f671907c11051a1b7bd5fdaae) --- test/built-ins/Object/fromEntries/requires-argument.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/built-ins/Object/fromEntries/requires-argument.js b/test/built-ins/Object/fromEntries/requires-argument.js index 850a6bc4ea..93823a8063 100644 --- a/test/built-ins/Object/fromEntries/requires-argument.js +++ b/test/built-ins/Object/fromEntries/requires-argument.js @@ -5,7 +5,6 @@ esid: sec-object.fromentries description: Throws when called without an argument. info: | - Object.fromEntries ( iterable ) 1. Perform ? RequireObjectCoercible(iterable). -- GitLab