diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2023-02-06 09:36:14 -0800 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2023-02-06 09:36:14 -0800 |
commit | 903addfd26256503a06d6f6fd41dfb06261540f1 (patch) | |
tree | 4912c4da43c29ec464aafff55f9337e16efcfbb4 /nginx/t/js_fetch_objects.t | |
parent | f13ba1648c3671c6996b4c2087cafcce9aee3bbd (diff) | |
download | njs-903addfd26256503a06d6f6fd41dfb06261540f1.tar.gz njs-903addfd26256503a06d6f6fd41dfb06261540f1.zip |
Tests: removed excessive tab characters from js_fetch_objects.t.
Diffstat (limited to 'nginx/t/js_fetch_objects.t')
-rw-r--r-- | nginx/t/js_fetch_objects.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nginx/t/js_fetch_objects.t b/nginx/t/js_fetch_objects.t index bac74a06..edc3be57 100644 --- a/nginx/t/js_fetch_objects.t +++ b/nginx/t/js_fetch_objects.t @@ -443,15 +443,15 @@ $t->write_file('test.js', <<EOF); ['method', async () => { var req = new Request("http://127.0.0.1:$p0/method", {method: 'PUT'}); - var r = await ngx.fetch(req); - var body = await r.text(); + var r = await ngx.fetch(req); + var body = await r.text(); return `\${r.url}: \${r.status} \${body} \${r.headers.get('a')}`; }, 'http://127.0.0.1:$p0/method: 200 PUT null'], ['request body', async () => { var req = new Request("http://127.0.0.1:$p0/body", {body: 'foo'}); - var r = await ngx.fetch(req); - var body = await r.text(); + var r = await ngx.fetch(req); + var body = await r.text(); return `\${r.url}: \${r.status} \${body}`; }, 'http://127.0.0.1:$p0/body: 201 foo'], ]; |