summaryrefslogtreecommitdiff
path: root/test/fixtures/test-fs-stat-sync-overflow.js
diff options
context:
space:
mode:
authorUjjwal Sharma <usharma1998@gmail.com>2018-03-06 19:29:21 +0530
committerGus Caplan <me@gus.host>2018-03-08 10:37:29 -0600
commitdb30142ececd4ece2039008e665b39c4519f2143 (patch)
treef6bba1ccfec6d293d3172619db201e88c3986cd9 /test/fixtures/test-fs-stat-sync-overflow.js
parent635c8c4e1c3155d66e35aec4c6370e72cf53fdeb (diff)
downloadandroid-node-v8-db30142ececd4ece2039008e665b39c4519f2143.tar.gz
android-node-v8-db30142ececd4ece2039008e665b39c4519f2143.tar.bz2
android-node-v8-db30142ececd4ece2039008e665b39c4519f2143.zip
test: address nits and rename the corresponding fixture
Refs: https://github.com/nodejs/node/issues/19105 PR-URL: https://github.com/nodejs/node/pull/19161 Refs: https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'test/fixtures/test-fs-stat-sync-overflow.js')
-rw-r--r--test/fixtures/test-fs-stat-sync-overflow.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fixtures/test-fs-stat-sync-overflow.js b/test/fixtures/test-fs-stat-sync-overflow.js
new file mode 100644
index 0000000000..9f947fa091
--- /dev/null
+++ b/test/fixtures/test-fs-stat-sync-overflow.js
@@ -0,0 +1,7 @@
+const fs = require('fs');
+
+function load() {
+ fs.statSync('.');
+ load();
+}
+load();