From aaa247cc83ce2201c7ada6bf1830a291874fa77f Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Thu, 5 May 2022 22:15:03 +0900 Subject: [PATCH] test: rename handlewrap.hasref tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `HandleWrap.isRefed()` was renamed to `hasRef()`. However, the filename of related TCs has not been reflected. Refs: https://github.com/nodejs/node/commit/f31a5ec34a PR-URL: https://github.com/nodejs/node/pull/42754 Reviewed-By: Darshan Sen Reviewed-By: Tobias Nießen Reviewed-By: Akhil Marsonya Reviewed-By: Luigi Pinca Reviewed-By: Mestery Reviewed-By: James M Snell --- .../{test-handle-wrap-isrefed.js => test-handle-wrap-hasref.js} | 2 +- ...andle-wrap-isrefed-tty.js => test-handle-wrap-hasref-tty.js} | 2 +- ...dle-wrap-isrefed-tty.out => test-handle-wrap-hasref-tty.out} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename test/parallel/{test-handle-wrap-isrefed.js => test-handle-wrap-hasref.js} (98%) rename test/pseudo-tty/{test-handle-wrap-isrefed-tty.js => test-handle-wrap-hasref-tty.js} (93%) rename test/pseudo-tty/{test-handle-wrap-isrefed-tty.out => test-handle-wrap-hasref-tty.out} (100%) diff --git a/test/parallel/test-handle-wrap-isrefed.js b/test/parallel/test-handle-wrap-hasref.js similarity index 98% rename from test/parallel/test-handle-wrap-isrefed.js rename to test/parallel/test-handle-wrap-hasref.js index d4ca0070929721..f76194d0495781 100644 --- a/test/parallel/test-handle-wrap-isrefed.js +++ b/test/parallel/test-handle-wrap-hasref.js @@ -133,4 +133,4 @@ const { kStateSymbol } = require('internal/dgram'); (type) => type === 'Immediate').length, 1); } -// See also test/pseudo-tty/test-handle-wrap-isrefed-tty.js +// See also test/pseudo-tty/test-handle-wrap-hasref-tty.js diff --git a/test/pseudo-tty/test-handle-wrap-isrefed-tty.js b/test/pseudo-tty/test-handle-wrap-hasref-tty.js similarity index 93% rename from test/pseudo-tty/test-handle-wrap-isrefed-tty.js rename to test/pseudo-tty/test-handle-wrap-hasref-tty.js index aa6ae341b4b231..16eb7199cf9b5d 100644 --- a/test/pseudo-tty/test-handle-wrap-isrefed-tty.js +++ b/test/pseudo-tty/test-handle-wrap-hasref-tty.js @@ -1,7 +1,7 @@ // Flags: --expose-internals --no-warnings 'use strict'; -// See also test/parallel/test-handle-wrap-isrefed.js +// See also test/parallel/test-handle-wrap-hasref.js const common = require('../common'); const strictEqual = require('assert').strictEqual; diff --git a/test/pseudo-tty/test-handle-wrap-isrefed-tty.out b/test/pseudo-tty/test-handle-wrap-hasref-tty.out similarity index 100% rename from test/pseudo-tty/test-handle-wrap-isrefed-tty.out rename to test/pseudo-tty/test-handle-wrap-hasref-tty.out