Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-v8-version-tag.js')
-rw-r--r--test/parallel/test-v8-version-tag.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-v8-version-tag.js b/test/parallel/test-v8-version-tag.js
index 22b0db0cd48..ec57b82fac6 100644
--- a/test/parallel/test-v8-version-tag.js
+++ b/test/parallel/test-v8-version-tag.js
@@ -7,9 +7,9 @@ const versionTag1 = v8.cachedDataVersionTag();
assert.strictEqual(typeof versionTag1, 'number');
assert.strictEqual(v8.cachedDataVersionTag(), versionTag1);
-// The value of cachedDataVersionTag is derived from the command line flags and
-// detected CPU features. Test that the value does indeed update when flags
-// are toggled.
+// The value returned by v8.cachedDataVersionTag() is derived from the V8
+// version, command-line flags, and detected CPU features. Test that the value
+// does indeed update when flags are toggled.
v8.setFlagsFromString('--allow_natives_syntax');
const versionTag2 = v8.cachedDataVersionTag();