summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_proxy-slow-upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_proxy-slow-upload.js')
-rw-r--r--netwerk/test/unit/test_proxy-slow-upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/test/unit/test_proxy-slow-upload.js b/netwerk/test/unit/test_proxy-slow-upload.js
index 1a406890e1..bef006e1e0 100644
--- a/netwerk/test/unit/test_proxy-slow-upload.js
+++ b/netwerk/test/unit/test_proxy-slow-upload.js
@@ -91,7 +91,7 @@ add_task(async function test_slow_upload() {
});
equal(req.status, Cr.NS_OK);
equal(req.QueryInterface(Ci.nsIHttpChannel).responseStatus, 200);
- ok(buff == CONTENT, "Content must match");
+ Assert.equal(buff, CONTENT, "Content must match");
ok(!!req.QueryInterface(Ci.nsIProxiedChannel).proxyInfo);
greater(
await server.execute(`global.data_count`),