summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/025_high_precision.test2
-rw-r--r--tests/025_hrtime.test2
-rw-r--r--tests/025_hrtime.ts (renamed from tests/025_high_precision.ts)2
-rw-r--r--tests/025_hrtime.ts.out (renamed from tests/025_high_precision.ts.out)0
4 files changed, 3 insertions, 3 deletions
diff --git a/tests/025_high_precision.test b/tests/025_high_precision.test
deleted file mode 100644
index fbdbbe8f9..000000000
--- a/tests/025_high_precision.test
+++ /dev/null
@@ -1,2 +0,0 @@
-args: run --allow-high-precision --reload tests/025_high_precision.ts
-output: tests/025_high_precision.ts.out
diff --git a/tests/025_hrtime.test b/tests/025_hrtime.test
new file mode 100644
index 000000000..3b25452ac
--- /dev/null
+++ b/tests/025_hrtime.test
@@ -0,0 +1,2 @@
+args: run --allow-hrtime --reload tests/025_hrtime.ts
+output: tests/025_hrtime.ts.out
diff --git a/tests/025_high_precision.ts b/tests/025_hrtime.ts
index 85b3c839b..417ca6982 100644
--- a/tests/025_high_precision.ts
+++ b/tests/025_hrtime.ts
@@ -1,3 +1,3 @@
console.log(performance.now() % 2 !== 0);
-Deno.revokePermission("highPrecision");
+Deno.revokePermission("hrtime");
console.log(performance.now() % 2 === 0);
diff --git a/tests/025_high_precision.ts.out b/tests/025_hrtime.ts.out
index bb101b641..bb101b641 100644
--- a/tests/025_high_precision.ts.out
+++ b/tests/025_hrtime.ts.out