From 628cbb74e28ce935f1f6a21bd038e4431c59fe41 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul0007@users.noreply.github.com> Date: Sun, 27 Aug 2023 14:18:06 +0530 Subject: [PATCH] Update test_fragmentURI.js --- test/test_fragmentURI.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_fragmentURI.js b/test/test_fragmentURI.js index 87a28b8e..40889d24 100644 --- a/test/test_fragmentURI.js +++ b/test/test_fragmentURI.js @@ -4,8 +4,8 @@ module('URI.fragmentURI'); test('storing URLs in fragment', function() { - var u = URI('http://example.org'); - var f; + let u = URI('http://example.org'); + let f; // var uri = URI('http://example.org/#!/foo/bar/baz.html'); // var furi = uri.fragment(true); @@ -29,7 +29,7 @@ equal(u.toString(), 'http://example.org/#!/foo/bar/foobar.txt', 'modifying filename of FragmentURI on original'); }); test('fragmentPrefix', function() { - var u; + let u; URI.fragmentPrefix = '?'; u = URI('http://example.org'); @@ -58,4 +58,4 @@ URI.fragmentPrefix = '!'; }); -})(); \ No newline at end of file +})();