summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/builtins/Date/Date.now.js
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2020-07-06 07:37:45 -0700
committerAndreas Kling <kling@serenityos.org>2020-07-06 23:40:35 +0200
commit1ef573eb308e442104a03b1e976084beb57124c1 (patch)
treeddc8edb2a1eca9c4061d6fe0065eb4ca7cb20911 /Libraries/LibJS/Tests/builtins/Date/Date.now.js
parent15de2eda2b8c06a59053d6a7144ea9eaf07e2210 (diff)
downloadserenity-1ef573eb308e442104a03b1e976084beb57124c1.zip
LibJS: Indent tests with 4 spaces instead of 2
Diffstat (limited to 'Libraries/LibJS/Tests/builtins/Date/Date.now.js')
-rw-r--r--Libraries/LibJS/Tests/builtins/Date/Date.now.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/Libraries/LibJS/Tests/builtins/Date/Date.now.js b/Libraries/LibJS/Tests/builtins/Date/Date.now.js
index 323ac46c8d..46c1b6d8cd 100644
--- a/Libraries/LibJS/Tests/builtins/Date/Date.now.js
+++ b/Libraries/LibJS/Tests/builtins/Date/Date.now.js
@@ -1,10 +1,10 @@
test("basic functionality", () => {
- var last = 0;
- for (var i = 0; i < 100; ++i) {
- var now = Date.now();
- expect(now).not.toBeNaN();
- expect(now).toBeGreaterThan(1580000000000);
- expect(now).toBeGreaterThanOrEqual(last);
- last = now;
- }
+ var last = 0;
+ for (var i = 0; i < 100; ++i) {
+ var now = Date.now();
+ expect(now).not.toBeNaN();
+ expect(now).toBeGreaterThan(1580000000000);
+ expect(now).toBeGreaterThanOrEqual(last);
+ last = now;
+ }
});