From 5969c9548170030d49b6a672fb97b91b3df6333b Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Thu, 10 Aug 2017 21:59:08 +0800 Subject: [PATCH] Set line number for text renders --- scripts/parse-reftest.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/parse-reftest.js b/scripts/parse-reftest.js index 9f0a503..44efc35 100644 --- a/scripts/parse-reftest.js +++ b/scripts/parse-reftest.js @@ -49,7 +49,8 @@ function parseRefTest(txt) { action: 'T', x: parseInt(text[1], 10), y: parseInt(text[2], 10), - text: text[3] + text: text[3], + line: i + 1 }; } const args = parseAction[2];